diff options
| author | joerg <joerg@NetBSD.org> | 2012-02-03 04:28:55 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-02-03 04:28:55 +0000 |
| commit | 114d5272ce8a349a9dbe8b4ed295982ea2b682b1 (patch) | |
| tree | 79034ab2bec8dbc19ab37e1a09de344550212efb /dist | |
| parent | 1c7d6f23634cef21a82309aabd8059f72bd4fdcf (diff) | |
Really skip the current line only if the comment is at the start.
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/ipf/lib/load_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/ipf/lib/load_http.c b/dist/ipf/lib/load_http.c index 25ab74db8cf..1655da3a36d 100644 --- a/dist/ipf/lib/load_http.c +++ b/dist/ipf/lib/load_http.c @@ -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; } |
