]> andersk Git - libfaim.git/blobdiff - src/rxqueue.c
- Mon May 7 15:19:55 PDT 2001
[libfaim.git] / src / rxqueue.c
index e1b8f4d662b08ecdc1d3e51d4a7171183ee72f63..d177c8278f5bcc18e53d2a971ddb74167b490256 100644 (file)
@@ -74,7 +74,7 @@ faim_export int aim_get_command(struct aim_session_t *sess, struct aim_conn_t *c
   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; 
   }
 
@@ -98,7 +98,7 @@ faim_export int aim_get_command(struct aim_session_t *sess, struct aim_conn_t *c
    * 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;
This page took 0.086983 seconds and 4 git commands to generate.