aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/yow.c
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2003-02-04 14:56:31 +0000
committerJuanma Barranquero <[email protected]>2003-02-04 14:56:31 +0000
commit177c0ea74342272645959b82cf219faa0b3dba16 (patch)
tree44e22b210a9904eab25a66d12e708804b671df75 /lib-src/yow.c
parentdb95369be096960245dd38678f68464627698678 (diff)
Trailing whitespace deleted.
Diffstat (limited to 'lib-src/yow.c')
-rw-r--r--lib-src/yow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/yow.c b/lib-src/yow.c
index 92df285870..fa638b0646 100644
--- a/lib-src/yow.c
+++ b/lib-src/yow.c
@@ -1,12 +1,12 @@
/*
* yow.c
- *
+ *
* Print a quotation from Zippy the Pinhead.
* Qux <Kaufman-David@Yale> March 6, 1986
*
* This file is in the public domain because the author published it
* with no copyright notice before the US signed the Bern Convention.
- *
+ *
* With dynamic memory allocation.
*/
@@ -114,7 +114,7 @@ setup_yow(fp)
header_len = ftell(fp);
if (header_len > AVG_LEN)
header_len -= AVG_LEN; /* allow the first quotation to appear */
-
+
if (fseek(fp, 0L, 2) == -1) {
perror("yow");
exit(1);
@@ -167,7 +167,7 @@ yow (fp)
buf[i++] = c;
while ((c = getc(fp)) != SEP && c != EOF) {
buf[i++] = c;
-
+
if (i == bufsize-1) {
/* Yow! Is this quotation too long yet? */
bufsize *= 2;