Ticket #11072: sftp.c.patch
File sftp.c.patch, 666 bytes (added by , 8 years ago) |
---|
-
src/putty/sftp.c
360 360 struct sftp_request *sftp_find_request(struct sftp_packet *pktin) 361 361 { 362 362 unsigned long id; 363 unsigned fid; 363 364 struct sftp_request *req; 364 365 365 366 if (!pktin) { … … 371 372 fxp_internal_error("did not receive a valid SFTP packet"); 372 373 return NULL; 373 374 } 374 req = find234(sftp_requests, &id, sftp_reqfind); 375 fid = id; 376 req = find234(sftp_requests, &fid, sftp_reqfind); 375 377 376 378 if (!req || !req->registered) { 377 379 fxp_internal_error("request ID mismatch");