Use constant instead of literal.

This commit is contained in:
Arnavion 2016-06-24 12:05:37 -07:00
parent a1d2272dc0
commit 4ed1acfd52
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ tcp_send_real (void *ssl, int sok, GIConv write_converter, char *buf, int len)
int ret; int ret;
gsize buf_encoded_len; 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 #ifdef USE_OPENSSL
if (!ssl) if (!ssl)
ret = send (sok, buf_encoded, buf_encoded_len, 0); ret = send (sok, buf_encoded, buf_encoded_len, 0);