fixed the ids parsing bug
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 19 Sep 2006 06:17:06 +0000 (06:17 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 19 Sep 2006 06:17:06 +0000 (06:17 -0000)
src/libstrongswan/utils/lexparser.c

index e3bb3d1..c09da14 100644 (file)
@@ -110,6 +110,7 @@ err_t extract_value(chunk_t *value, chunk_t *line)
                if (delimiter == ' ')
                {
                        *value = *line;
+                       line->len = 0;
                }
                else
                {