tprint the raw data exactly as is (without a newline) - sacc - simple console gopher client
(HTM) git clone git://src.adamsgaard.dk/sacc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 2082fb355fb5684f67fbf4131584bdfc36750fae
(DIR) parent fe46373d3c1891059ceaf7b1f919c7eefee10223
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 3 Nov 2017 19:24:12 +0100
print the raw data exactly as is (without a newline)
Diffstat:
M sacc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sacc.c b/sacc.c
t@@ -654,7 +654,7 @@ printout(Item *hole)
switch (hole->type) {
case '0':
if (dig(hole, hole))
- puts(hole->raw);
+ fputs(hole->raw, stdout);
return;
case '1':
case '+':