From 829c4598236558786e062242b221e179944657ca Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Tue, 28 Oct 2014 14:36:41 +0100 Subject: [PATCH] Horrific typo! Please don't look. --- src/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.c b/src/context.c index 9eacd14b..cfc512b0 100755 --- a/src/context.c +++ b/src/context.c @@ -1327,7 +1327,7 @@ getdns_context_set_edns_do_bit(struct getdns_context *context, uint8_t value) { RETURN_IF_NULL(context, GETDNS_RETURN_INVALID_PARAMETER); /* only allow 1 */ - if (value != 0 and value != 1) { + if (value != 0 && value != 1) { return GETDNS_RETURN_CONTEXT_UPDATE_FAIL; }