[hackers] [sbase] Actually print <space> to stream in putword() too || sin

From: <git_AT_suckless.org>
Date: Tue, 21 Apr 2015 19:00:52 +0200 (CEST)

commit 10b57e8a3dbdff764c72ac5ae4c4190a703a8f13
Author: sin <sin_AT_2f30.org>
Date: Tue Apr 21 17:48:47 2015 +0100

    Actually print <space> to stream in putword() too

diff --git a/libutil/putword.c b/libutil/putword.c
index 41d748c..80a9860 100644
--- a/libutil/putword.c
+++ b/libutil/putword.c
_AT_@ -9,7 +9,7 @@ putword(FILE *fp, const char *s)
         static int first = 1;
 
         if (!first)
- putchar(' ');
+ fputc(' ', fp);
 
         fputs(s, fp);
         first = 0;
Received on Tue Apr 21 2015 - 19:00:52 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 21 2015 - 19:12:25 CEST