Horrific typo! Please don't look.

This commit is contained in:
Willem Toorop 2014-10-28 14:36:41 +01:00
parent d92dc8b460
commit 829c459823
1 changed files with 1 additions and 1 deletions

View File

@ -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); RETURN_IF_NULL(context, GETDNS_RETURN_INVALID_PARAMETER);
/* only allow 1 */ /* only allow 1 */
if (value != 0 and value != 1) { if (value != 0 && value != 1) {
return GETDNS_RETURN_CONTEXT_UPDATE_FAIL; return GETDNS_RETURN_CONTEXT_UPDATE_FAIL;
} }