| 578 * state is CONNECTED, but I can /almost/ envision reasons for wanting |
578 * state is CONNECTED, but I can /almost/ envision reasons for wanting |
| 579 * to do things during the connection process. |
579 * to do things during the connection process. |
| 580 */ |
580 */ |
| 581 |
581 |
| 582 jabber_send_raw(js, buf, len); |
582 jabber_send_raw(js, buf, len); |
| 583 return (len < 0 ? strlen(buf) : len); |
583 return (len < 0 ? (int)strlen(buf) : len); |
| 584 } |
584 } |
| 585 |
585 |
| 586 void jabber_send_signal_cb(PurpleConnection *pc, xmlnode **packet, |
586 void jabber_send_signal_cb(PurpleConnection *pc, xmlnode **packet, |
| 587 gpointer unused) |
587 gpointer unused) |
| 588 { |
588 { |