X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.c;h=b0d91c7952a5ce25555fe2e4b695f3ce2b6ea16b;hb=b7c9d26ddeb1f230c1eb4435f3893af0054cfdf7;hp=18b8d451778a7e2f020ea008c55c95358dce2b36;hpb=b4d2a01828e5de85e5eee3631f7fe3925a0312ca;p=libguestfs.git diff --git a/fish/fish.c b/fish/fish.c index 18b8d45..b0d91c7 100644 --- 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 : pend; } argv[i] = NULL;