Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
l10n: zh_CN.po: translate 27 messages (2210t0f0u)
[gitweb.git]
/
test-string-list.c
diff --git
a/test-string-list.c
b/test-string-list.c
index 00ce6c9a129674c1922e0c388366592c5ae7c8c7..14bdf9d2153a98d0b2a5d03395c1adcc166f8a07 100644
(file)
--- a/
test-string-list.c
+++ b/
test-string-list.c
@@
-38,7
+38,7
@@
static void write_list_compact(const struct string_list *list)
static int prefix_cb(struct string_list_item *item, void *cb_data)
{
const char *prefix = (const char *)cb_data;
- return
!prefixcmp
(item->string, prefix);
+ return
starts_with
(item->string, prefix);
}
int main(int argc, char **argv)