From: Ralph Corderoy Date: Wed, 19 Oct 2016 22:38:04 +0000 (+0100) Subject: Put, rather than print, single characters. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/e5afa1df87c24d49f0572ff903d4b0ee2eb803a8?hp=30dd986c9c8d1a6fc75a7442c8ecf9eb16346f33 Put, rather than print, single characters. --- diff --git a/sbr/oauth.c b/sbr/oauth.c index 00e5ba21..87ee7791 100755 --- a/sbr/oauth.c +++ b/sbr/oauth.c @@ -897,7 +897,7 @@ debug_callback(const CURL *handle, curl_infotype type, const char *data, } fwrite(data, 1, size, fp); if (data[size - 1] != '\n') { - fputs("\n", fp); + putc('\n', fp); } fflush(fp); return 0;