Author: marcel Date: Tue Mar 4 01:14:37 2014 New Revision: 262721 URL: http://svnweb.freebsd.org/changeset/base/262721
Log: Increase MAXLINE to deal with longer paths. Obtained from: Juniper Networks, Inc. Modified: head/usr.bin/tftp/main.c Modified: head/usr.bin/tftp/main.c ============================================================================== --- head/usr.bin/tftp/main.c Mon Mar 3 23:30:54 2014 (r262720) +++ head/usr.bin/tftp/main.c Tue Mar 4 01:14:37 2014 (r262721) @@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$"); #include "tftp-options.h" #include "tftp.h" -#define MAXLINE 200 +#define MAXLINE (2 * MAXPATHLEN) #define TIMEOUT 5 /* secs between rexmt's */ typedef struct sockaddr_storage peeraddr; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"