aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2007-12-16 22:06:51 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2007-12-16 22:06:51 +0100
commit969f6437c47d1d4428a501542df614d1213ae811 (patch)
treeb5989f6c42dad0d5648baabaa06353516a4cead7
parent33cac975a40690c1c2a40a5e3b9d65c23c49893a (diff)
handle the case when the birthday is unknown
-rw-r--r--skype/skype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skype/skype.c b/skype/skype.c
index 0bbfbcb1..2fcff1e3 100644
--- a/skype/skype.c
+++ b/skype/skype.c
@@ -375,7 +375,7 @@ static gboolean skype_read_callback( gpointer data, gint fd, b_input_condition c
}
if(sd->info_birthday)
{
- if(strlen(sd->info_birthday))
+ if(strlen(sd->info_birthday) && strcmp(sd->info_birthday, "0"))
{
char ib[256];
struct tm tm;