diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-28 07:53:47 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-28 07:53:47 +0000 |
commit | db86c203b75aa4863021aaa2a409f90ee97fb934 (patch) | |
tree | 2682abc0653397805569fce446da6fa4ec7f3619 /src/vcard.c | |
parent | a597ecafa00e4e41c18de39003967556b0eb472d (diff) |
more null-checking.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3309 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/vcard.c')
-rw-r--r-- | src/vcard.c | 2 |
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 ); |