[evolution/gnome-2-28] Fix the previous commit.



commit 067f8340086440a6625159914315c3aa8116125d
Author: Bharath Acharya <abharath novell com>
Date:   Wed Feb 17 12:12:58 2010 +0530

    Fix the previous commit.
    
    Incorporated the review comments. Committed the older patch by mistake

 plugins/copy-tool/copy-tool.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plugins/copy-tool/copy-tool.c b/plugins/copy-tool/copy-tool.c
index 556c35a..1ee65db 100644
--- a/plugins/copy-tool/copy-tool.c
+++ b/plugins/copy-tool/copy-tool.c
@@ -52,10 +52,7 @@ org_gnome_copy_tool_copy_address(gpointer ep, EMPopupTargetURI *t)
 		const gchar *tmp;
 
 		curl = camel_url_new(t->uri, NULL);
-		if (camel_address_decode ((CamelAddress *) cia, curl->path) == -1) {
-			camel_object_unref (cia);
-			return;
-		}
+		camel_address_decode ((CamelAddress *) cia, curl->path);
 		addr = camel_address_format ((CamelAddress *) cia);
 		tmp = addr && addr[0] ? addr : t->uri + 7;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]