]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: use o_stream_nsend in client-export
authorMartti Rannanjärvi <martti.rannanjarvi@dovecot.fi>
Tue, 20 Dec 2016 11:40:17 +0000 (13:40 +0200)
committerGitLab <gitlab@git.dovecot.net>
Fri, 23 Dec 2016 13:48:20 +0000 (15:48 +0200)
src/stats/client-export.c

index 2f72bd6679246553c746bfd34349ca3a4e671414..3b9521190b9be71083a7b39ce35bad851ad4b657 100644 (file)
@@ -111,7 +111,7 @@ client_export_stats_headers(struct client *client)
                str_append(str, stats_field_name(i));
        }
        str_append_c(str, '\n');
-       o_stream_send(client->output, str_data(str), str_len(str));
+       o_stream_nsend(client->output, str_data(str), str_len(str));
 }
 
 static void