diff options
Diffstat (limited to 'libntp/ntp_intres.c')
| -rw-r--r-- | libntp/ntp_intres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libntp/ntp_intres.c b/libntp/ntp_intres.c index 7aa288af57b2b..9fc3815ef0075 100644 --- a/libntp/ntp_intres.c +++ b/libntp/ntp_intres.c @@ -410,7 +410,7 @@ blocking_getaddrinfo( cp += sizeof(*ai); /* transform ai_canonname into offset */ - if (NULL != serialized_ai->ai_canonname) { + if (NULL != ai->ai_canonname) { serialized_ai->ai_canonname = (char *)canons_octets; canons_octets += strlen(ai->ai_canonname) + 1; } |
