aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/soap.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-12-26 16:04:14 +0100
committerMarius Halden <marius.h@lden.org>2016-12-26 16:04:14 +0100
commit184c46d3507a0ff9fc68a4409f690add96cd183d (patch)
tree6fc6a92212d7e8f68107e418db50073ed8c0f88c /protocols/msn/soap.c
parent979082a36fe648b81711373c62311bcd7d9d3b54 (diff)
parent59ccef5cc9f1ed67112248c20649ce8005188173 (diff)
Merge branch 'master' into patched-master
Diffstat (limited to 'protocols/msn/soap.c')
-rw-r--r--protocols/msn/soap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c
index 1fa22d13..14aaed11 100644
--- a/protocols/msn/soap.c
+++ b/protocols/msn/soap.c
@@ -212,9 +212,9 @@ static void msn_soap_debug_print(const char *headers, const char *payload)
if (headers) {
if ((s = strstr(headers, "\r\n\r\n"))) {
- write(2, headers, s - headers + 4);
+ fwrite(headers, s - headers + 4, 1, stderr);
} else {
- write(2, headers, strlen(headers));
+ fwrite(headers, strlen(headers), 1, stderr);
}
}