diff --git a/smbclient.c b/smbclient.c index 8186724..6118a21 100644 --- a/smbclient.c +++ b/smbclient.c @@ -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);