You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Guenter Knauf <ef...@gmx.net> on 2004/03/14 03:03:10 UTC

[PATCH] htdbm.c - fix comment display

Hi,
this patch fixes a typo and makes htdbm display the comment.

--- htdbm.c.org  Sat Mar 13 16:31:04 2004
+++ htdbm.c      Sun Mar 14 02:32:06 2004
@@ -261,7 +261,7 @@
         fprintf(stderr, "    %-32s", kb);
         strncpy(rec, val.dptr, val.dsize);
         rec[val.dsize] = '\0';
-        cmnt = strchr(rec, ';');
+        cmnt = strchr(rec, ':');
         if (cmnt)
             fprintf(stderr, cmnt + 1);
         fprintf(stderr, "\n");


Guenter.