mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-27 07:36:22 +00:00
resolver: fixed uninitialised var
This commit is contained in:
@@ -157,6 +157,7 @@ int resolver_srv_lookup_buf(const unsigned char *buf, size_t len,
|
||||
* RFC2052: A client MUST attempt to contact the target host
|
||||
* with the lowest-numbered priority it can reach.
|
||||
*/
|
||||
priority_min = UINT16_MAX;
|
||||
for (i = 0; i < header.ancount; ++i) {
|
||||
name_len = message_name_len(buf, len, j);
|
||||
j += name_len;
|
||||
|
||||
Reference in New Issue
Block a user