]> git.ipfire.org Git - thirdparty/git.git/blobdiff - vcs-svn/svndump.c
vcs-svn: use constcmp instead of prefixcmp
[thirdparty/git.git] / vcs-svn / svndump.c
index f6c0d4c8a0524ac66abfeea31b90d80f306220e1..c5d07a66873438563967800e9f0c75aa3e7fe8e0 100644 (file)
@@ -361,7 +361,7 @@ void svndump_read(const char *url)
                        reset_rev_ctx(atoi(val));
                        break;
                case sizeof("Node-path"):
-                       if (prefixcmp(t, "Node-"))
+                       if (constcmp(t, "Node-"))
                                continue;
                        if (!constcmp(t + strlen("Node-"), "path")) {
                                if (active_ctx == NODE_CTX)