summaryrefslogtreecommitdiff
path: root/vcard.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-08-08 17:15:12 +0300
committerAlon Levy <alevy@redhat.com>2010-08-15 16:46:32 +0300
commitc4523f6d1a009ebcb93b4161c86e3ce02dfa9b4c (patch)
tree8acae3c9f05fdc1312194889a63f37a4907a9e29 /vcard.c
parentc2cc49a5578f415d3ddd5a5a81c2e8771a015c4c (diff)
move VCardEmulOptions to h file for use by vssclient
Diffstat (limited to 'vcard.c')
-rw-r--r--vcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcard.c b/vcard.c
index 46abd55..d57540d 100644
--- a/vcard.c
+++ b/vcard.c
@@ -232,7 +232,7 @@ vcard_select_applet(VCard *card, int channel, VCardApplet *applet)
ASSERT(channel < MAX_CHANNEL);
card->current_applet[channel] = applet;
/* reset the applet */
- if (applet->reset_applet) {
+ if (applet && applet->reset_applet) {
applet->reset_applet(card, channel);
}
}