Use constant instead of literal.
This commit is contained in:
parent
a1d2272dc0
commit
4ed1acfd52
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue