mirror of https://github.com/getdnsapi/getdns.git
Horrific typo! Please don't look.
This commit is contained in:
parent
d92dc8b460
commit
829c459823
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue