INN commit: branches/2.4/storage (overdata.c)

INN Commit Russ_Allbery at isc.org
Thu Aug 28 21:51:07 UTC 2008


    Date: Thursday, August 28, 2008 @ 14:51:06
  Author: iulius
Revision: 7985

Fix a bug for correct printable characters.

Modified:
  branches/2.4/storage/overdata.c

------------+
 overdata.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: overdata.c
===================================================================
--- overdata.c	2008-08-28 21:48:48 UTC (rev 7984)
+++ overdata.c	2008-08-28 21:51:06 UTC (rev 7985)
@@ -244,7 +244,7 @@
     p = (const unsigned char *) string;
     if (full) {
         for (; *p != '\0' && *p != ':'; p++)
-            if (*p < 33 || *p == 127)
+            if (!CTYPE(isgraph, *p))
                 return false;
         if (*p != ':')
             return false;



More information about the inn-committers mailing list