sftp.c : sftp_bin2attr() Correct attrs->gid assignment
Regression with fix for
Credit : Tseng Jun
@@ -703,7 +703,7 @@ sftp_bin2attr(LIBSSH2_SFTP_ATTRIBUTES *attrs, const unsigned char *p,
return LIBSSH2_ERROR_BUFFER_TOO_SMALL;
}
attrs->uid = uid;
- attrs->uid = gid;
+ attrs->gid = gid;
}
if(attrs->flags & LIBSSH2_SFTP_ATTR_PERMISSIONS) {
