| 294 qq_data *qd; |
294 qq_data *qd; |
| 295 guint8 *buf; |
295 guint8 *buf; |
| 296 gint len; |
296 gint len; |
| 297 |
297 |
| 298 gc = (GaimConnection *) data; |
298 gc = (GaimConnection *) data; |
| 299 if(gc == NULL || gc->proto_data == NULL || cond != GAIM_INPUT_READ) { |
299 |
| |
300 g_return_if_fail(gc != NULL && gc->proto_data != NULL); |
| |
301 |
| |
302 if(cond != GAIM_INPUT_READ) { |
| 300 gaim_connection_error(gc, _("Socket error")); |
303 gaim_connection_error(gc, _("Socket error")); |
| 301 return; |
304 return; |
| 302 } |
305 } |
| 303 |
306 |
| 304 qd = (qq_data *) gc->proto_data; |
307 qd = (qq_data *) gc->proto_data; |