Use latest version of tgl
This commit is contained in:
parent
433a96a9d1
commit
68d69e1da8
2 changed files with 6 additions and 2 deletions
2
tgl
2
tgl
|
@ -1 +1 @@
|
|||
Subproject commit 4a2282719f03e6f48be84fef3fca961bbb24b94a
|
||||
Subproject commit cebe2822a2620961692ac45b0ea2ee99d396c5fb
|
|
@ -83,6 +83,7 @@ static int ping_alarm (gpointer arg) {
|
|||
|
||||
static void stop_ping_timer (struct connection *c) {
|
||||
purple_timeout_remove (c->ping_ev);
|
||||
c->ping_ev = -1;
|
||||
}
|
||||
|
||||
static void start_ping_timer (struct connection *c) {
|
||||
|
@ -457,7 +458,9 @@ static void try_rpc_read (struct connection *c) {
|
|||
len *= 4;
|
||||
int op;
|
||||
assert (tgln_read_in_lookup (c, &op, 4) == 4);
|
||||
c->methods->execute (TLS, c, op, len);
|
||||
if (c->methods->execute (TLS, c, op, len) < 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -593,6 +596,7 @@ static void tgln_free (struct connection *c) {
|
|||
purple_input_remove (c->write_ev);
|
||||
}
|
||||
|
||||
if (c->fd >= 0) { close (c->fd); }
|
||||
c->fd = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue