git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prepare for 1.0.89.
[libguestfs.git]
/
fish
/
edit.c
diff --git
a/fish/edit.c
b/fish/edit.c
index
d30b3ca
..
3fc41fb
100644
(file)
--- a/
fish/edit.c
+++ b/
fish/edit.c
@@
-149,7
+149,7
@@
do_edit (const char *cmd, int argc, char *argv[])
unlink (filename);
/* Changed? */
- if (strlen (content) == size &&
strncmp (content, content_new, size) == 0
) {
+ if (strlen (content) == size &&
STREQLEN (content, content_new, size)
) {
free (content);
free (content_new);
return 0;