Mercurial > pidgin
comparison libpurple/connection.c @ 30640:53f51201b39f
While looking for where "Can not resolve <hostname>" was coming from, I found these.
There are also a bunch in QQ, but I left those alone.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 28 Oct 2010 06:32:46 +0000 |
parents | 1c20a2115ad4 |
children | af709c6ab032 |
comparison
equal
deleted
inserted
replaced
30639:1d5f8e977b54 | 30640:53f51201b39f |
---|---|
133 { | 133 { |
134 if (((password == NULL) || (*password == '\0')) && | 134 if (((password == NULL) || (*password == '\0')) && |
135 !(prpl_info->options & OPT_PROTO_NO_PASSWORD) && | 135 !(prpl_info->options & OPT_PROTO_NO_PASSWORD) && |
136 !(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL)) | 136 !(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL)) |
137 { | 137 { |
138 purple_debug_error("connection", "Can not connect to account %s without " | 138 purple_debug_error("connection", "Cannot connect to account %s without " |
139 "a password.\n", purple_account_get_username(account)); | 139 "a password.\n", purple_account_get_username(account)); |
140 return; | 140 return; |
141 } | 141 } |
142 } | 142 } |
143 | 143 |
208 | 208 |
209 if (((password == NULL) || (*password == '\0')) && | 209 if (((password == NULL) || (*password == '\0')) && |
210 !(prpl_info->options & OPT_PROTO_NO_PASSWORD) && | 210 !(prpl_info->options & OPT_PROTO_NO_PASSWORD) && |
211 !(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL)) | 211 !(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL)) |
212 { | 212 { |
213 purple_debug_error("connection", "Can not connect to account %s without " | 213 purple_debug_error("connection", "Cannot connect to account %s without " |
214 "a password.\n", purple_account_get_username(account)); | 214 "a password.\n", purple_account_get_username(account)); |
215 return; | 215 return; |
216 } | 216 } |
217 | 217 |
218 gc = g_new0(PurpleConnection, 1); | 218 gc = g_new0(PurpleConnection, 1); |