diff options
-rw-r--r-- | libssh/sftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c index cdeb9e20..46bcce32 100644 --- a/libssh/sftp.c +++ b/libssh/sftp.c @@ -733,7 +733,7 @@ static sftp_status_message parse_status_msg(sftp_message msg){ return NULL; } - status = malloc(sizeof(struct sftp_message_struct)); + status = malloc(sizeof(struct sftp_status_message_struct)); if (status == NULL) { return NULL; } |