[evolution-data-server/camel-socks-proxy-master] Fix cut&paste thinko
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/camel-socks-proxy-master] Fix cut&paste thinko
- Date: Thu, 12 Aug 2010 19:33:35 +0000 (UTC)
commit 797ca192eeba7d666193c5019cb0242e8cf35054
Author: Federico Mena Quintero <federico novell com>
Date: Thu Aug 12 13:13:12 2010 -0500
Fix cut&paste thinko
Signed-off-by: Federico Mena Quintero <federico novell com>
camel/camel-tcp-stream-raw.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-tcp-stream-raw.c b/camel/camel-tcp-stream-raw.c
index 3f667b0..ed46826 100644
--- a/camel/camel-tcp-stream-raw.c
+++ b/camel/camel-tcp-stream-raw.c
@@ -751,7 +751,7 @@ resolve_port (const char *service, gint fallback_port, GError **error)
* if you just want to resolve a port number.
*/
ai = camel_getaddrinfo ("localhost", service, NULL, &my_error);
- if (ai == NULL && fallback_port != 0 && !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ if (ai == NULL && fallback_port != 0 && !g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
port = fallback_port;
else if (ai == NULL) {
g_propagate_error (error, my_error);
@@ -1031,7 +1031,7 @@ tcp_stream_raw_connect (CamelTcpStream *stream,
my_error = NULL;
addr = camel_getaddrinfo (host, service, &hints, &my_error);
- if (addr == NULL && fallback_port != 0 && !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
+ if (addr == NULL && fallback_port != 0 && !g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
char str_port[16];
g_clear_error (&my_error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]