aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/oscar/oscar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c
index c96e342e..30ad4b68 100644
--- a/protocols/oscar/oscar.c
+++ b/protocols/oscar/oscar.c
@@ -2272,6 +2272,7 @@ static int gaim_icqinfo(aim_session_t *sess, aim_frame_t *fr, ...)
if (info->birthyear || info->birthmonth || info->birthday) {
char date[30];
struct tm tm;
+ memset(&tm, 0, sizeof(struct tm));
tm.tm_mday = (int)info->birthday;
tm.tm_mon = (int)info->birthmonth-1;
tm.tm_year = (int)info->birthyear%100;