diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/server.c b/src/common/server.c index 53b18d02..665c913c 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -91,7 +91,7 @@ tcp_send_real (void *ssl, int sok, GIConv write_converter, char *buf, int len) int ret; gsize buf_encoded_len; - gchar *buf_encoded = text_convert_invalid (buf, len, write_converter, "?", &buf_encoded_len); + gchar *buf_encoded = text_convert_invalid (buf, len, write_converter, arbitrary_encoding_fallback_string, &buf_encoded_len); #ifdef USE_OPENSSL if (!ssl) ret = send (sok, buf_encoded, buf_encoded_len, 0); |