summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
50d7e05)
fprintf(stderr,
"Fatal: unable to initialise SFTP: %s\n",
fxp_error());
fprintf(stderr,
"Fatal: unable to initialise SFTP: %s\n",
fxp_error());
sftp_send(pktout);
pktin = sftp_recv();
sftp_send(pktout);
pktin = sftp_recv();
+ if (!pktin) {
+ fxp_internal_error("could not connect");
+ return 0;
+ }
if (pktin->type != SSH_FXP_VERSION) {
fxp_internal_error("did not receive FXP_VERSION");
return 0;
if (pktin->type != SSH_FXP_VERSION) {
fxp_internal_error("did not receive FXP_VERSION");
return 0;