Skip to content

Commit

Permalink
pybind/cephfs: Fix setxattr function. Pass value as character pointer
Browse files Browse the repository at this point in the history
This passes the value of the xattr correctly and makes it work.
  • Loading branch information
wido committed Dec 17, 2014
1 parent 9b73c76 commit 0c9d55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/cephfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def setxattr(self, path, name, value, flags):
self.cluster,
c_char_p(path),
c_char_p(name),
c_void_p(value),
c_char_p(value),
c_size_t(len(value)),
c_int(flags))
if ret < 0:
Expand Down

0 comments on commit 0c9d55d

Please sign in to comment.