]> diplodocus.org Git - nmh/commitdiff
Put, rather than print, single characters.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 22:38:04 +0000 (23:38 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 22:38:04 +0000 (23:38 +0100)
sbr/oauth.c

index 00e5ba2165e97270a17d281c1293f69fd8f9c102..87ee7791bfc72607c21f938276eddd4d5c2ca3e5 100755 (executable)
@@ -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') {
     }
     fwrite(data, 1, size, fp);
     if (data[size - 1] != '\n') {
-        fputs("\n", fp);
+        putc('\n', fp);
     }
     fflush(fp);
     return 0;
     }
     fflush(fp);
     return 0;