From 6bbdaceaca06e3af4df5d4f265630ea651bc9044 Mon Sep 17 00:00:00 2001 From: Joseph Southwell Date: Sun, 2 Feb 2014 19:28:51 +0100 Subject: src: Define MAX_BUF_SIZE globally and use it. Reviewed-by: Andreas Schneider --- src/misc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/misc.c') diff --git a/src/misc.c b/src/misc.c index 693189f2..6daf60ab 100644 --- a/src/misc.c +++ b/src/misc.c @@ -697,7 +697,6 @@ char *ssh_path_expand_tilde(const char *d) { } char *ssh_path_expand_escape(ssh_session session, const char *s) { -#define MAX_BUF_SIZE 4096 char host[NI_MAXHOST]; char buf[MAX_BUF_SIZE]; char *r, *x = NULL; -- cgit