aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/copy-tool/copy-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/copy-tool/copy-tool.c')
-rw-r--r--plugins/copy-tool/copy-tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/copy-tool/copy-tool.c b/plugins/copy-tool/copy-tool.c
index 5571ba25c1..ad28dfde1a 100644
--- a/plugins/copy-tool/copy-tool.c
+++ b/plugins/copy-tool/copy-tool.c
@@ -44,11 +44,11 @@ org_gnome_copy_tool_copy_address(void *ep, EMPopupTargetURI *t)
static void
ct_selection_get(GtkWidget *widget, GtkSelectionData *data, guint info, guint time_stamp, void *dummy)
{
- printf("get selection, address is '%s'\n", address_uri);
-
if (address_uri == NULL)
return;
+ printf("get selection, address is '%s'\n", address_uri);
+
if (strncmp (address_uri, "mailto:", 7) == 0) {
CamelInternetAddress *cia = camel_internet_address_new();
CamelURL *curl;