Differences From Artifact [17d0315884]:
- File sftp.c — part of check-in [94042e50d4] at 2001-12-11 14:08:12 on branch trunk — Fix error handling in sftp (the sftp_recv return value was being checked for NULL almost nowhere). (user: simon size: 22063)
To Artifact [3f3db45959]:
- File sftp.c — part of check-in [8a0237bb44] at 2001-12-14 04:12:53 on branch trunk — Remove ghastly hack involving fxp_error_message. (user: simon size: 22033)
| ︙ | |||
58 59 60 61 62 63 64 | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | - |
struct sftp_packet *pkt;
pkt = smalloc(sizeof(struct sftp_packet));
pkt->data = NULL;
pkt->savedpos = -1;
pkt->length = 0;
pkt->maxlen = 0;
sftp_pkt_addbyte(pkt, (unsigned char) pkt_type);
|
| ︙ |