Loading ares/ares_strerror.c +4 −2 Original line number Diff line number Diff line Loading @@ -46,6 +46,8 @@ const char *ares_strerror(int code) "Illegal hints flags specified" }; DEBUGASSERT(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext))); if(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext))) return errtext[code]; else return "unknown"; } Loading
ares/ares_strerror.c +4 −2 Original line number Diff line number Diff line Loading @@ -46,6 +46,8 @@ const char *ares_strerror(int code) "Illegal hints flags specified" }; DEBUGASSERT(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext))); if(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext))) return errtext[code]; else return "unknown"; }