summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2016-06-24 12:05:37 -0700
committerArnavion <arnavion@gmail.com>2016-06-24 12:05:37 -0700
commit4ed1acfd522ccb8b90c44b8734ac77eb28c1453a (patch)
tree63313611837b7961b67fc83ed90f21d189eef9dd /src/common
parenta1d2272dc08adea28601994fd8366f1ddc6232d8 (diff)
Use constant instead of literal.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/server.c2
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);