Skip to content

Commit

Permalink
ammend comment
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Apr 4, 2023
1 parent a7b076a commit b1bd5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smbclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ PHP_FUNCTION(smbclient_getxattr)

if (retsize == 0) { /* success, since 4.16.9 and 4.17.5 */
retsize = strlen(values);
} else if (retsize > xattr_size) { /* time-of-check, time-of-use error */
} else if (retsize > xattr_size) { /* time-of-check, time-of-use error, never happen as recent versions return -1*/
retsize = xattr_size;
} else if (retsize < 0) {
efree(values);
Expand Down

0 comments on commit b1bd5da

Please sign in to comment.