minor code cleanup
This commit is contained in:
@ -879,6 +879,13 @@ static void on_dnc_resolve (mio_svc_dnc_t* dnc, mio_dns_msg_t* reqmsg, mio_errnu
|
||||
goto no_data;
|
||||
}
|
||||
|
||||
/*
|
||||
if (pi->hdr.code == MIO_DNS_RCODE_BADCOOKIE)
|
||||
{
|
||||
// retry with server cookie received....
|
||||
}
|
||||
*/
|
||||
|
||||
if (pi->hdr.rcode != MIO_DNS_RCODE_NOERROR)
|
||||
{
|
||||
status = MIO_EINVAL;
|
||||
|
@ -261,7 +261,7 @@ MIO_EXPORT void mio_svc_marc_stop (
|
||||
#if defined(MIO_HAVE_INLINE)
|
||||
static MIO_INLINE mio_t* mio_svc_marc_getmio(mio_svc_marc_t* svc) { return mio_svc_getmio((mio_svc_t*)svc); }
|
||||
#else
|
||||
# define mio_svc_marc_getmio(svc) mio_svc_getmio(svc)
|
||||
# define mio_svc_marc_getmio(svc) mio_svc_getmio(svc)
|
||||
#endif
|
||||
|
||||
MIO_EXPORT int mio_svc_marc_querywithbchars (
|
||||
|
Reference in New Issue
Block a user