add newline to end of file when encoding
This commit is contained in:
parent
623d0a5c3b
commit
6c7d699f1a
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
@ -55,6 +55,7 @@ main(int argc, char *argv[])
|
||||||
encode(obuf, n, sbuf, url);
|
encode(obuf, n, sbuf, url);
|
||||||
fprintf((argc == 2) ? out : stdout, "%s", sbuf);
|
fprintf((argc == 2) ? out : stdout, "%s", sbuf);
|
||||||
}
|
}
|
||||||
|
fprintf((argc == 2) ? out : stdout, "\n");
|
||||||
}
|
}
|
||||||
if (in)
|
if (in)
|
||||||
fclose(in);
|
fclose(in);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue