Mercurial > pidgin.yaz
comparison src/protocols/silc/silc.c @ 10802:0edc30641f4b
[gaim-migrate @ 12448]
Don't crash when signing off
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 09 Apr 2005 14:55:50 +0000 |
parents | 39b5a5e30f47 |
children | cb625efd1071 |
comparison
equal
deleted
inserted
replaced
10801:39b5a5e30f47 | 10802:0edc30641f4b |
---|---|
84 if (state == NULL) | 84 if (state == NULL) |
85 return; | 85 return; |
86 | 86 |
87 if (strcmp(state, "offline") && !gc) { | 87 if (strcmp(state, "offline") && !gc) { |
88 gaim_account_connect(account); | 88 gaim_account_connect(account); |
89 return; | |
90 } else if (!strcmp(state, "offline")) { | |
89 return; | 91 return; |
90 } | 92 } |
91 | 93 |
92 if ((sg == NULL) || (sg->conn == NULL)) | 94 if ((sg == NULL) || (sg->conn == NULL)) |
93 return; | 95 return; |