From 4b4d04f27bc54e305497f8d9b7ce7a77c0bbd399 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 5 Aug 2005 23:59:21 +0000 Subject: Bugfix from Paul LeoNerd Evans git-svn-id: file:///home/lennart/svn/public/libasyncns/trunk@20 cc0fb855-19ed-0310-866e-8c1d96e4abae --- libasyncns/asyncns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libasyncns/asyncns.c b/libasyncns/asyncns.c index 6e05635..1a86c05 100644 --- a/libasyncns/asyncns.c +++ b/libasyncns/asyncns.c @@ -686,7 +686,7 @@ static int handle_response(asyncns_t *asyncns, rheader_t *resp, size_t length) { const nameinfo_response_t *ni_resp = (nameinfo_response_t*) resp; assert(length >= sizeof(nameinfo_response_t)); - assert(q->type = REQUEST_NAMEINFO); + assert(q->type == REQUEST_NAMEINFO); q->ret = ni_resp->ret; -- cgit