ec_mingw.c (ettercap-0.8.3) | : | ec_mingw.c (ettercap-0.8.3.1) | ||
---|---|---|---|---|
skipping to change at line 547 | skipping to change at line 547 | |||
USER_MSG("wait() not yet supported\n"); | USER_MSG("wait() not yet supported\n"); | |||
errno = ENOSYS; | errno = ENOSYS; | |||
(void) status; | (void) status; | |||
return -1; | return -1; | |||
} | } | |||
/* | /* | |||
* BIND resolver stuff: | * BIND resolver stuff: | |||
* | * | |||
* Expand compressed domain name 'comp_dn' to full domain name. | * Expand compressed domain name 'comp_dn' to full domain name. | |||
* 'msg' is a pointer to the begining of the message, | * 'msg' is a pointer to the beginning of the message, | |||
* 'eom_orig' points to the first location after the message, | * 'eom_orig' points to the first location after the message, | |||
* 'exp_dn' is a pointer to a buffer of size 'length' for the result. | * 'exp_dn' is a pointer to a buffer of size 'length' for the result. | |||
* Return size of compressed name or -1 if there was an error. | * Return size of compressed name or -1 if there was an error. | |||
*/ | */ | |||
#ifndef INDIR_MASK | #ifndef INDIR_MASK | |||
#define INDIR_MASK 0xc0 | #define INDIR_MASK 0xc0 | |||
#endif | #endif | |||
#ifndef MAXLABEL | #ifndef MAXLABEL | |||
#define MAXLABEL 63 /* maximum length of domain label */ | #define MAXLABEL 63 /* maximum length of domain label */ | |||
skipping to change at line 975 | skipping to change at line 975 | |||
break; | break; | |||
case WSAEDISCON: | case WSAEDISCON: | |||
p = _("Disconnected"); | p = _("Disconnected"); | |||
break; | break; | |||
/* Extended Winsock errors */ | /* Extended Winsock errors */ | |||
case WSASYSNOTREADY: | case WSASYSNOTREADY: | |||
p = _("Winsock library is not ready"); | p = _("Winsock library is not ready"); | |||
break; | break; | |||
case WSANOTINITIALISED: | case WSANOTINITIALISED: | |||
p = _("Winsock library not initalised"); | p = _("Winsock library not initialised"); | |||
break; | break; | |||
case WSAVERNOTSUPPORTED: | case WSAVERNOTSUPPORTED: | |||
p = _("Winsock version not supported."); | p = _("Winsock version not supported."); | |||
break; | break; | |||
/* getXbyY() errors (already handled in herrmsg): | /* getXbyY() errors (already handled in herrmsg): | |||
Authoritative Answer: Host not found */ | Authoritative Answer: Host not found */ | |||
case WSAHOST_NOT_FOUND: | case WSAHOST_NOT_FOUND: | |||
p = _("Host not found"); | p = _("Host not found"); | |||
break; | break; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |