comparison src/protocols/msn/servconn.c @ 11897:a1aa681f1448

[gaim-migrate @ 14188] Make some things static and make msn disconnect errors slightly less geeky committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 30 Oct 2005 16:59:25 +0000
parents 888d4c328be5
children 4ee61369c790
comparison
equal deleted inserted replaced
11896:8aa6462e563c 11897:a1aa681f1448
131 reason = _("Reading error"); break; 131 reason = _("Reading error"); break;
132 default: 132 default:
133 reason = _("Unknown error"); break; 133 reason = _("Unknown error"); break;
134 } 134 }
135 135
136 tmp = g_strdup_printf(_("Connection error from %s server (%s):\n%s"), 136 gaim_debug_error("msn", "Connection error from %s server (%s): %s\n",
137 name, servconn->host, reason); 137 name, servconn->host, reason);
138 tmp = g_strdup_printf(_("Connection error from %s server:\n%s"),
139 name, reason);
138 140
139 if (servconn->type == MSN_SERVCONN_NS) 141 if (servconn->type == MSN_SERVCONN_NS)
140 { 142 {
141 msn_session_set_error(servconn->session, MSN_ERROR_SERVCONN, tmp); 143 msn_session_set_error(servconn->session, MSN_ERROR_SERVCONN, tmp);
142 } 144 }