[evolution-data-server/camel-socks-proxy-master] Format error strings, don't include them inline
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/camel-socks-proxy-master] Format error strings, don't include them inline
- Date: Thu, 12 Aug 2010 19:33:55 +0000 (UTC)
commit b2af3ce67574b7ecc4854cc567ec840d7cdafed1
Author: Federico Mena Quintero <federico novell com>
Date: Thu Aug 12 13:29:13 2010 -0500
Format error strings, don't include them inline
camel/camel-tcp-stream-raw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-tcp-stream-raw.c b/camel/camel-tcp-stream-raw.c
index 7572a8e..7c2b34e 100644
--- a/camel/camel-tcp-stream-raw.c
+++ b/camel/camel-tcp-stream-raw.c
@@ -926,7 +926,7 @@ socks5_request_connect (CamelTcpStreamRaw *raw, PRFileDesc *fd, const char *host
}
if (reply[1] != 0x00) { /* error code */
- g_set_error (error, CAMEL_SERVICE_ERROR, CAMEL_SERVICE_ERROR_NOT_CONNECTED, socks5_reply_error_to_string (reply[1]));
+ g_set_error (error, CAMEL_SERVICE_ERROR, CAMEL_SERVICE_ERROR_NOT_CONNECTED, "%s", socks5_reply_error_to_string (reply[1]));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]