From 4ed1acfd522ccb8b90c44b8734ac77eb28c1453a Mon Sep 17 00:00:00 2001 From: Arnavion Date: Fri, 24 Jun 2016 12:05:37 -0700 Subject: [PATCH] Use constant instead of literal. --- src/common/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);