]> andersk Git - libfaim.git/blobdiff - aim_rxqueue.c
- Tue Jun 6 01:36:48 UTC 2000
[libfaim.git] / aim_rxqueue.c
index d82d6f49072ef8bef259f4e9b1c7266ff3ed84f2..481e49b07c713e82d9ba68f2e28e165b2826ef97 100644 (file)
@@ -23,6 +23,13 @@ int aim_get_command(struct aim_session_t *sess, struct aim_conn_t *conn)
   if (conn->fd < 3)  /* can happen when people abuse the interface */
     return 0;
 
+  /*
+   * Rendezvous (client-client) connections do not speak
+   * FLAP, so this function will break on them.
+   */
+  if (conn->type > 0x01000)
+    return 0;
+
   /*
    * Read FLAP header.  Six bytes:
    *    
This page took 0.053083 seconds and 4 git commands to generate.