if (conn->type == AIM_CONN_TYPE_RENDEZVOUS)
return aim_get_command_rendezvous(sess, conn);
if (conn->type == AIM_CONN_TYPE_RENDEZVOUS_OUT) {
- printf("out on fd %d\n", conn->fd);
+ faimdprintf(sess, 0, "out on fd %d\n", conn->fd);
return 0;
}
* or we break. We must handle it just in case.
*/
if (generic[0] != 0x2a) {
- faimdprintf(1, "Bad incoming data!");
+ faimdprintf(sess, 1, "Bad incoming data!");
aim_conn_close(conn);
faim_mutex_unlock(&conn->active);
return -1;