| 815 /* Error! */ |
815 /* Error! */ |
| 816 flap_connection_schedule_destroy(conn, |
816 flap_connection_schedule_destroy(conn, |
| 817 OSCAR_DISCONNECT_LOST_CONNECTION, g_strerror(errno)); |
817 OSCAR_DISCONNECT_LOST_CONNECTION, g_strerror(errno)); |
| 818 break; |
818 break; |
| 819 } |
819 } |
| |
820 conn->od->gc->last_received = time(NULL); |
| 820 |
821 |
| 821 /* If we don't even have a complete FLAP header then do nothing */ |
822 /* If we don't even have a complete FLAP header then do nothing */ |
| 822 conn->header_received += read; |
823 conn->header_received += read; |
| 823 if (conn->header_received < 6) |
824 if (conn->header_received < 6) |
| 824 break; |
825 break; |