diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2016-10-08 20:25:14 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2016-10-08 20:25:14 +0000 |
commit | b7441e899065aa33afa116c71d894efb76654e75 (patch) | |
tree | 5a078ba188c45b05eb828a61b7ea9ba6ea06bb45 /net/netatalk3/files/patch-libatalk_vfs_extattr.c | |
parent | Update to 20161005 snapshot (diff) |
Update to 3.1.10.
* Clean up the port to use the new OPTIONS framework [1]
* Make sure to use the right Python executable for afpstats [2]
PR: 213192 [2]
Submitted by: bofh [1]
Differential Revision: D7537 [1]
Diffstat (limited to 'net/netatalk3/files/patch-libatalk_vfs_extattr.c')
-rw-r--r-- | net/netatalk3/files/patch-libatalk_vfs_extattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netatalk3/files/patch-libatalk_vfs_extattr.c b/net/netatalk3/files/patch-libatalk_vfs_extattr.c index 02f7382f820e..d3f5f301b1f4 100644 --- a/net/netatalk3/files/patch-libatalk_vfs_extattr.c +++ b/net/netatalk3/files/patch-libatalk_vfs_extattr.c @@ -4,8 +4,8 @@ const char *attrname = ((s=strchr(name, '.')) == NULL) ? name : s + 1; if((retval=extattr_get_fd(filedes, attrnamespace, attrname, NULL, 0)) >= 0) { -+ if (size == 0) -+ return retval; ++ if (size == 0) ++ return retval; if(retval > size) { errno = ERANGE; return -1; |