diff options
Diffstat (limited to 'include/libssh/string.h')
-rw-r--r-- | include/libssh/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/string.h b/include/libssh/string.h index ccdbb175..5f3942db 100644 --- a/include/libssh/string.h +++ b/include/libssh/string.h @@ -29,7 +29,7 @@ #endif struct ssh_string_struct { uint32_t size; - unsigned char string[MAX_PACKET_LEN]; + unsigned char data[1]; } #if !defined(__SUNPRO_C) && !defined(_MSC_VER) __attribute__ ((packed)) |