Reduced
This commit is contained in:
parent
bc2c675571
commit
ecc79c90f7
3
baked.c
3
baked.c
@ -180,7 +180,6 @@ expand(char * buf, size_t len)
|
|||||||
{
|
{
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
char * str = "";
|
char * str = "";
|
||||||
++len;
|
|
||||||
assert(buf);
|
assert(buf);
|
||||||
for (i = 0; i < len; ++i)
|
for (i = 0; i < len; ++i)
|
||||||
{
|
{
|
||||||
@ -276,7 +275,9 @@ main(int argc, char ** argv)
|
|||||||
if (!(start = find(buf, START))
|
if (!(start = find(buf, START))
|
||||||
|| !(stop = find(start, STOP)))
|
|| !(stop = find(start, STOP)))
|
||||||
{ die("No usable format located in '%s'", argv[1]); }
|
{ die("No usable format located in '%s'", argv[1]); }
|
||||||
|
|
||||||
init(argv, argc);
|
init(argv, argc);
|
||||||
|
|
||||||
len = stop - start - strlen(STOP);
|
len = stop - start - strlen(STOP);
|
||||||
memmove(buf, start, len);
|
memmove(buf, start, len);
|
||||||
} /* EOL start stop*/
|
} /* EOL start stop*/
|
||||||
|
Loading…
Reference in New Issue
Block a user