diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-14 00:40:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-14 00:40:14 +0000 |
commit | e8e73d6cafa0caeb46895b7f0f0194a9c282ff89 (patch) | |
tree | 07f2e4bfc647bda542288f2a1788f4b81f76e614 /epan/resolv.c | |
parent | 2765a6a878c8a8a222c5e9533c6974800bd88037 (diff) |
From Matthias Melchior: parenthesize check for RESOLV_CONCURRENT.
Get rid of "!= 0" check - other tests for a bit being on in
g_resolv_flags don't do that.
svn path=/trunk/; revision=8684
Diffstat (limited to 'epan/resolv.c')
-rw-r--r-- | epan/resolv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/resolv.c b/epan/resolv.c index aa071157cd..2372e0be71 100644 --- a/epan/resolv.c +++ b/epan/resolv.c @@ -1,7 +1,7 @@ /* resolv.c * Routines for network object lookup * - * $Id: resolv.c,v 1.36 2003/08/26 20:21:08 gerald Exp $ + * $Id: resolv.c,v 1.37 2003/10/14 00:40:14 guy Exp $ * * Laurent Deniel <laurent.deniel@free.fr> * @@ -332,7 +332,7 @@ static guchar *host_name_lookup(guint addr, gboolean *found) tp->next = NULL; #ifdef HAVE_GNU_ADNS - if (g_resolv_flags & RESOLV_CONCURRENT != 0 && + if ((g_resolv_flags & RESOLV_CONCURRENT) && prefs.name_resolve_concurrency > 0) { qmsg = g_malloc(sizeof(adns_queue_msg_t)); qmsg->type = AF_INET; |