Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/ipf/lib Really skip the current line only if the commen...



details:   https://anonhg.NetBSD.org/src/rev/3603c2405c57
branches:  trunk
changeset: 773478:3603c2405c57
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Feb 03 04:28:55 2012 +0000

description:
Really skip the current line only if the comment is at the start.

diffstat:

 dist/ipf/lib/load_http.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d976ad3cbf2b -r 3603c2405c57 dist/ipf/lib/load_http.c
--- a/dist/ipf/lib/load_http.c  Fri Feb 03 04:03:11 2012 +0000
+++ b/dist/ipf/lib/load_http.c  Fri Feb 03 04:28:55 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: load_http.c,v 1.5 2012/01/30 16:12:04 darrenr Exp $    */
+/*     $NetBSD: load_http.c,v 1.6 2012/02/03 04:28:55 joerg Exp $      */
 
 /*
  * Copyright (C) 2010 by Darren Reed.
@@ -174,7 +174,7 @@
                        u = strchr(buffer, '#');
                        if (u != NULL) {
                                *u = '\0';
-                               if (u == buffer);
+                               if (u == buffer)
                                        continue;
                        }
 



Home | Main Index | Thread Index | Old Index