summaryrefslogtreecommitdiff
path: root/sent.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-11-04 01:40:50 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-11-04 01:40:50 +0100
commitfc82374b03b5b2fd9b9770163184d3747a1ccd26 (patch)
treeee6a12b9d05693111ffee2a3a06b172625349ac8 /sent.c
parentf84e7a585e530e15437f7d87b721d0df3f98e24e (diff)
update license year
Diffstat (limited to 'sent.c')
-rw-r--r--sent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sent.c b/sent.c
index 81ef04e..2754eb0 100644
--- a/sent.c
+++ b/sent.c
@@ -381,7 +381,7 @@ void load(FILE *fp)
char buf[BUFSIZ], *p;
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)) {
if ((i+1) * sizeof(*slides) >= size)
if (!(slides = realloc(slides, (size += BUFSIZ))))
@@ -454,7 +454,7 @@ void run()
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);
}