update license year

This commit is contained in:
Markus Teich 2015-11-04 01:40:50 +01:00
parent f84e7a585e
commit fc82374b03
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2014 Markus Teich Copyright (c) 2014-2015 Markus Teich
png handling stuff adapted from meh by John Hawthorn png handling stuff adapted from meh by John Hawthorn

4
sent.c
View File

@ -381,7 +381,7 @@ void load(FILE *fp)
char buf[BUFSIZ], *p; char buf[BUFSIZ], *p;
size_t i = slidecount; size_t i = slidecount;
/* read each line from stdin and add it to the item list */ /* read each line from fp and add it to the item list */
while (fgets(buf, sizeof(buf), fp)) { while (fgets(buf, sizeof(buf), fp)) {
if ((i+1) * sizeof(*slides) >= size) if ((i+1) * sizeof(*slides) >= size)
if (!(slides = realloc(slides, (size += BUFSIZ)))) if (!(slides = realloc(slides, (size += BUFSIZ))))
@ -454,7 +454,7 @@ void run()
void usage() void usage()
{ {
die("sent " VERSION " (c) 2015 markus.teich@stusta.mhn.de\n" \ die("sent " VERSION " (c) 2014-2015 markus.teich@stusta.mhn.de\n" \
"usage: sent FILE1 [FILE2 ...]", argv0); "usage: sent FILE1 [FILE2 ...]", argv0);
} }