diff lib/config_file.c @ 460:075f89b4395c

2004-4-14 Brian Masney <masneyb@gftp.org> * lib/sshv2.c lib/gftp.h src/text/textui.c src/gtk/gtkui.c - when connecting with the SSH protocol, if the user is asked a question, relay that question back to the user and allow them to answer it. * doc/gftp-faq.sgml - moved the SSH troubleshooting section to the issues for older releases section. All of the issues that this talks about have been fixed in CVS. * src/gtk/gftp-gtk.c (main) - call gdk_threads_init() on startup * lib/cache.c lib/config_file.c lib/misc.c lib/protocols.c lib/rfc2068.c lib/rfc959.c - removed some uses of strlen() so that they only occur once on a string instead of multiple times in some cases * lib/sslcommon.c - fixed typo * configure.in lib/gftp.h - added configure check for inttypes.h * docs/gftp.lsm - updated with 2.0.17 information
author masneyb
date Thu, 15 Apr 2004 00:59:23 +0000
parents 1d45758e5cf5
children fbb5a02beddb
line wrap: on
line diff
--- a/lib/config_file.c	Sat Apr 10 20:39:06 2004 +0000
+++ b/lib/config_file.c	Thu Apr 15 00:59:23 2004 +0000
@@ -201,7 +201,7 @@
   newentry = NULL;
   while (fgets (buf, sizeof (buf), bmfile))
     {
-     len = strlen (buf);
+      len = strlen (buf);
       if (len > 0 && buf[len - 1] == '\n')
 	buf[--len] = '\0';
       if (len > 0 && buf[len - 1] == '\r')