diff options
-rw-r--r-- | vcs-svn/svndump.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcs-svn/svndump.c b/vcs-svn/svndump.c index 77680a31e8..0919a576dc 100644 --- a/vcs-svn/svndump.c +++ b/vcs-svn/svndump.c @@ -297,10 +297,13 @@ void svndump_read(const char *url) reset_dump_ctx(pool_intern(url)); while ((t = buffer_read_line(&input))) { - val = strstr(t, ": "); + val = strchr(t, ':'); if (!val) continue; - val += 2; + val++; + if (*val != ' ') + continue; + val++; /* strlen(key) + 1 */ switch (val - t - 1) { |