git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a10c6
)
Fix looping bug in parse_string_list, and remove debug message.
author
Richard Jones
<rjones@redhat.com>
Sun, 12 Apr 2009 21:27:04 +0000
(22:27 +0100)
committer
Richard Jones
<rjones@redhat.com>
Sun, 12 Apr 2009 21:27:04 +0000
(22:27 +0100)
fish/fish.c
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
18b8d45
..
b0d91c7
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-476,8
+476,6
@@
parse_size (const char *str, off_t *size_rtn)
return -1;
}
- printf ("size = %lu\n", size);
-
/* XXX 32 bit file offsets, if anyone uses them? GCC should give
* a warning here anyhow.
*/
@@
-540,7
+538,7
@@
parse_string_list (const char *str)
pend = strchrnul (p, ':');
argv[i] = strndup (p, pend-p);
i++;
- p = *pend == ':' ? pend+1 : p;
+ p = *pend == ':' ? pend+1 : p
end
;
}
argv[i] = NULL;