git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use STREQ, not strcmp: part 1
[libguestfs.git]
/
daemon
/
guestfsd.c
diff --git
a/daemon/guestfsd.c
b/daemon/guestfsd.c
index
5789fed
..
db0bff9
100644
(file)
--- a/
daemon/guestfsd.c
+++ b/
daemon/guestfsd.c
@@
-831,7
+831,7
@@
split_lines (char *str)
int size = 0, alloc = 0;
char *p, *pend;
- if (
strcmp (str, "") == 0
)
+ if (
STREQ (str, "")
)
goto empty_list;
p = str;