[Pinfo-devel] r302 - pinfo/trunk/src

Bas Zoetekouw bas at costa.debian.org
Sat Jun 24 15:16:15 UTC 2006


Author: bas
Date: 2006-06-24 15:16:14 +0000 (Sat, 24 Jun 2006)
New Revision: 302

Modified:
   pinfo/trunk/src/parse_config.c
Log:
Fixed parsing of the FTPVIEWER option.  Thansk to jieryn at gmail.com for a patch.

Modified: pinfo/trunk/src/parse_config.c
===================================================================
--- pinfo/trunk/src/parse_config.c	2006-03-16 16:19:22 UTC (rev 301)
+++ pinfo/trunk/src/parse_config.c	2006-06-24 15:16:14 UTC (rev 302)
@@ -601,7 +601,7 @@
 		else
 			return 1;
 	}
-	else if (!strncmp(temp, "FTPVIEWER", 10))
+	else if (!strncmp(temp, "FTPVIEWER", 9))
 	{
 		temp = strtok(NULL, "\n");
 		if (temp)




More information about the Pinfo-devel mailing list