mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
buffer: Fix typo
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
6efbf7a30e
commit
039c066da5
@@ -1217,7 +1217,7 @@ int ssh_buffer_unpack_va(struct ssh_buffer_struct *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (rc != SSH_ERROR){
|
if (rc != SSH_ERROR){
|
||||||
/* Check if our canary is intact, if not somthing really bad happened */
|
/* Check if our canary is intact, if not something really bad happened */
|
||||||
uint32_t canary = va_arg(ap, uint32_t);
|
uint32_t canary = va_arg(ap, uint32_t);
|
||||||
if (canary != SSH_BUFFER_PACK_END){
|
if (canary != SSH_BUFFER_PACK_END){
|
||||||
if (argc == -1){
|
if (argc == -1){
|
||||||
|
|||||||
Reference in New Issue
Block a user