Skip to content

Commit

Permalink
Fix line break
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Nov 26, 2023
1 parent 88cfdb4 commit 15a936a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extattrs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ bool setAttributeValueQString(const QString &path, const QString &attribute, con
namespacedAttr.append(XATTR_NAMESPACE).append(".").append(attribute);
int success = setxattr(path.toLatin1().data(),
namespacedAttr.toLatin1().data(),
value.toLatin1().data(), value.length() + 1, 0); //
include \0 termination char
value.toLatin1().data(), value.length() + 1, 0); // include \0 termination char
// check if we set the attribute value
return (success == 0);
#endif
Expand Down

0 comments on commit 15a936a

Please sign in to comment.