fix errno mismatch bug
This commit is contained in:
parent
0493e7a899
commit
902a8fc61d
@ -108,7 +108,6 @@ case EDNSBAD : return "DNS sent an unknown response code";
|
||||
case EDNSREFUSED : return "DNS refused to talk";
|
||||
case EDNSDEAD : return "DNS hostname does not exist";
|
||||
case EDNSTIMEDOUT : return "DNS timed out";
|
||||
case EDNSERROR : return "DNS lookup error";
|
||||
case ECOLLTOOBIG : return "Collection is too long";
|
||||
case ESTRIKEOUT : return "Retried enough times, deleting doc";
|
||||
case ENOPERM : return "Permission Denied";
|
||||
@ -193,6 +192,7 @@ case ENOTITLEREC: return "No title rec found when recycling content";
|
||||
case EQUERYINGDISABLED: return "Querying is disabled in the master controls";
|
||||
case EJSONMISSINGLASTCURLY: return "JSON was missing last curly bracket";
|
||||
case EADMININTERFERENCE: return "Adminstrative interference";
|
||||
case EDNSERROR : return "DNS lookup error";
|
||||
}
|
||||
// if the remote error bit is clear it must be a regulare errno
|
||||
//if ( ! ( errnum & REMOTE_ERROR_BIT ) ) return strerror ( errnum );
|
||||
|
Loading…
Reference in New Issue
Block a user