aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/copy-tool/copy-tool.c
diff options
context:
space:
mode:
authorSimon Zheng <Simon.Zheng@Sun.Com>2005-11-29 19:15:23 +0800
committerHarry Lu <haip@src.gnome.org>2005-11-29 19:15:23 +0800
commitf9ea878ce0af4b24b141facf701908bd67c674a6 (patch)
treed9deeb3fec1d74d5afc3ce22a56cb9b75ca9a540 /plugins/copy-tool/copy-tool.c
parentd945a55a5f8fcffc74545d8d42394bcecdea2402 (diff)
downloadgsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.gz
gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.zst
gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.zip
Fix for 322733.
2005-11-29 Simon Zheng <Simon.Zheng@Sun.Com> Fix for 322733. * copy-tool.c: (ct_selection_get): Move printf() statement after NULL checking. svn path=/trunk/; revision=30706
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;