| 57 if (!sess || !conn) |
57 if (!sess || !conn) |
| 58 return 0; |
58 return 0; |
| 59 |
59 |
| 60 if (conn->fd < 3) /* can happen when people abuse the interface */ |
60 if (conn->fd < 3) /* can happen when people abuse the interface */ |
| 61 return 0; |
61 return 0; |
| |
62 |
| |
63 if (conn->status & AIM_CONN_STATUS_INPROGRESS) |
| |
64 return aim_conn_completeconnect(sess, conn); |
| 62 |
65 |
| 63 /* |
66 /* |
| 64 * Rendezvous (client-client) connections do not speak |
67 * Rendezvous (client-client) connections do not speak |
| 65 * FLAP, so this function will break on them. |
68 * FLAP, so this function will break on them. |
| 66 */ |
69 */ |