Module Name: src
Committed By: joerg
Date: Fri Feb 3 04:28:55 UTC 2012
Modified Files:
src/dist/ipf/lib: load_http.c
Log Message:
Really skip the current line only if the comment is at the start.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/dist/ipf/lib/load_http.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/dist/ipf/lib/load_http.c
diff -u src/dist/ipf/lib/load_http.c:1.5 src/dist/ipf/lib/load_http.c:1.6
--- src/dist/ipf/lib/load_http.c:1.5 Mon Jan 30 16:12:04 2012
+++ src/dist/ipf/lib/load_http.c Fri Feb 3 04:28:55 2012
@@ -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 @@ load_http(char *url)
u = strchr(buffer, '#');
if (u != NULL) {
*u = '\0';
- if (u == buffer);
+ if (u == buffer)
continue;
}