git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change strncasecmp() == 0 to STRCASENEQLEN()
[libguestfs.git]
/
fish
/
fish.c
diff --git
a/fish/fish.c
b/fish/fish.c
index
cd10296
..
0387eb7
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-1340,7
+1340,7
@@
resolve_win_path (const char *path)
char *ret;
size_t i;
- if (
strncasecmp (path, "win:", 4) != 0
) {
+ if (
STRCASENEQLEN (path, "win:", 4)
) {
ret = strdup (path);
if (ret == NULL)
perror ("strdup");