From 5d097eee54adcf162f629d2e4fda502a808f1819 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 16 Mar 2000 01:09:13 +0000 Subject: [PATCH] accept # comments in wire data input files --- bin/tests/wire_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/tests/wire_test.c b/bin/tests/wire_test.c index 98994bbaec..326f6158cb 100644 --- a/bin/tests/wire_test.c +++ b/bin/tests/wire_test.c @@ -98,6 +98,8 @@ main(int argc, char *argv[]) { wp = s; len = 0; while (*rp != '\0') { + if (*rp == '#') + break; if (*rp != ' ' && *rp != '\t' && *rp != '\r' && *rp != '\n') { *wp++ = *rp;