aboutsummaryrefslogtreecommitdiff
path: root/src/vcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcard.c')
-rw-r--r--src/vcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcard.c b/src/vcard.c
index a078607b..dd7219a6 100644
--- a/src/vcard.c
+++ b/src/vcard.c
@@ -384,8 +384,8 @@ static void vcard_build_items( VCardFile *cardFile, GSList *listName, GSList *li
if( *str != '\0' ) {
ItemEMail *email = addritem_create_item_email();
addritem_email_set_address( email, str );
- str = nodeRemarks->data;
if( nodeRemarks ) {
+ str = nodeRemarks->data;
if( str ) {
if( g_ascii_strcasecmp( str, "internet" ) != 0 ) {
if( *str != '\0' ) addritem_email_set_remarks( email, str );