aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorPaul Capron <paul@fragara.com>2020-09-25 11:04:00 +0200
committerJakub Jelen <jjelen@redhat.com>2020-09-29 13:05:34 +0200
commitcbd48c497fd2a949166e8fc40c2f928592d6f806 (patch)
tree0f6d2827d35c0005efecd4c66a770fec76bffd2c /include/libssh/priv.h
parentcc953ff7e4b50b9467fb1bb6b15c28648ebfcaeb (diff)
downloadlibssh-cbd48c497fd2a949166e8fc40c2f928592d6f806.tar.gz
libssh-cbd48c497fd2a949166e8fc40c2f928592d6f806.tar.xz
libssh-cbd48c497fd2a949166e8fc40c2f928592d6f806.zip
priv.h: Fix “MAX_PACKAT_LEN” typo in #ifndef guard
The preprocessor guard was previously effectively inoperative; it used to read “MAX_PACKAT_LEN” (note the ‘A’!), now is ‘E’. Signed-off-by: Paul Capron <paul@fragara.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 3cf2004e..ada4d152 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -167,7 +167,7 @@ int gettimeofday(struct timeval *__p, void *__t);
#include "libssh/callbacks.h"
/* some constants */
-#ifndef MAX_PACKAT_LEN
+#ifndef MAX_PACKET_LEN
#define MAX_PACKET_LEN 262144
#endif
#ifndef ERROR_BUFFERLEN