libpurple/protocols/oscar/flap_connection.c

changeset 22317
8eb2b3201855
parent 22296
120207b25525
parent 22277
7c386db62c81
child 22622
1ecb840b5101
equal deleted inserted replaced
22316:e67e3995699a 22317:8eb2b3201855
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;

mercurial