libfaim/aim_rxqueue.c

changeset 338
21c93bc7ae83
parent 283
dbf3342692e9
child 445
f7ef3b61a842
equal deleted inserted replaced
337:a8e0c72c6b8a 338:21c93bc7ae83
19 19
20 if (!sess || !conn) 20 if (!sess || !conn)
21 return 0; 21 return 0;
22 22
23 if (conn->fd < 3) /* can happen when people abuse the interface */ 23 if (conn->fd < 3) /* can happen when people abuse the interface */
24 return 0;
25
26 /*
27 * Rendezvous (client-client) connections do not speak
28 * FLAP, so this function will break on them.
29 */
30 if (conn->type > 0x01000)
24 return 0; 31 return 0;
25 32
26 /* 33 /*
27 * Read FLAP header. Six bytes: 34 * Read FLAP header. Six bytes:
28 * 35 *

mercurial