aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorXiang Xiao <xiaoxiang@xiaomi.com>2021-05-10 19:42:32 +0800
committerJakub Jelen <jjelen@redhat.com>2021-06-16 11:56:53 +0200
commitf2bd44969b1bca6b49864f6c41b1f3fbb662e91e (patch)
tree8c7fb40bc4899e9a1393c93a263c856d29953af8 /src/config.c
parentdbe504ea0ab0e803643fa44f35b6e4c259524c83 (diff)
downloadlibssh-f2bd44969b1bca6b49864f6c41b1f3fbb662e91e.tar.gz
libssh-f2bd44969b1bca6b49864f6c41b1f3fbb662e91e.tar.xz
libssh-f2bd44969b1bca6b49864f6c41b1f3fbb662e91e.zip
Make the max file line length configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Change-Id: I0bc70f4459a6eaa6f4c87887a5ee7822faf22443
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 599d6f80..a082e994 100644
--- a/src/config.c
+++ b/src/config.c
@@ -48,7 +48,9 @@
#include "libssh/misc.h"
#include "libssh/options.h"
+#ifndef MAX_LINE_SIZE
#define MAX_LINE_SIZE 1024
+#endif
struct ssh_config_keyword_table_s {
const char *name;