mirror of https://github.com/getdnsapi/getdns.git
Emberassing mistake (dont look)
This commit is contained in:
parent
526c3a3491
commit
3c816b0c86
|
@ -788,9 +788,10 @@ stub_tcp_write(int fd, getdns_tcp_state *tcp, getdns_network_req *netreq)
|
||||||
/* Still more to send */
|
/* Still more to send */
|
||||||
return STUB_TCP_AGAIN;
|
return STUB_TCP_AGAIN;
|
||||||
|
|
||||||
|
query_id = (int)GLDNS_ID_WIRE(tcp->write_buf + 2);
|
||||||
/* Done. Start reading */
|
/* Done. Start reading */
|
||||||
tcp->write_buf = NULL;
|
tcp->write_buf = NULL;
|
||||||
return (int)GLDNS_ID_WIRE(tcp->write_buf + 2);
|
return query_id;
|
||||||
|
|
||||||
} /* if (! tcp->write_buf) */
|
} /* if (! tcp->write_buf) */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue