diff options
author | phk <phk@FreeBSD.org> | 2003-03-04 19:20:52 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-04 19:20:52 +0000 |
commit | e196887b273e98ec9a9685e7c467e1210885b09e (patch) | |
tree | e1667459fca2e5642f735299c9360db802c0f322 | |
parent | 41654eba84690d1fb48bb0bc8208895d859fe279 (diff) | |
download | FreeBSD-src-e196887b273e98ec9a9685e7c467e1210885b09e.zip FreeBSD-src-e196887b273e98ec9a9685e7c467e1210885b09e.tar.gz |
Fix a bug in the white-space remover.
-rw-r--r-- | tools/regression/geom/ConfCmp/ConfCmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/geom/ConfCmp/ConfCmp.c b/tools/regression/geom/ConfCmp/ConfCmp.c index 69a3c58..1ddf502 100644 --- a/tools/regression/geom/ConfCmp/ConfCmp.c +++ b/tools/regression/geom/ConfCmp/ConfCmp.c @@ -163,7 +163,7 @@ CharData(void *userData , const XML_Char *s , int len) b++; while (isspace(*e) && e > b) e--; - if (e != b) + if (e != b || *b) sbuf_bcat(mt->cur->cont, b, e - b + 1); } |