projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff1404d
)
added memset to make mail stuff prettier
author
Brenden Matthews
<brenden1@rty.ca>
Fri, 12 May 2006 18:06:12 +0000
(18:06 +0000)
committer
Brenden Matthews
<brenden1@rty.ca>
Fri, 12 May 2006 18:06:12 +0000
(18:06 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@630
7f574dfc
-610e-0410-a909-
a81674777703
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
d5cd2cd
..
82b2c3a
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-1076,6
+1076,7
@@
int register_thread(struct thread_info_s *new_thread)
struct mail_s* parse_mail_args(char type, const char *arg) {
struct mail_s *mail;
mail = malloc(sizeof(struct mail_s));
+ memset(mail, 0, sizeof(struct mail_s));
char *tmp;
if (sscanf(arg, "%128s %128s %128s", mail->host, mail->user, mail->pass) != 3) {
if (type == POP3) {