if (hp == NULL) {
return htonl(INADDR_NONE);
}
-
+
/*
* Paranoia from a Bind vulnerability. An attacker
* can manipulate DNS entries to change the length of the
while ((n > 1) && (*src)) {
*(p++) = *(src++);
-
+
n--;
}
*p = '\0';
* Remove spaces from a string
*/
void rad_rmspace(char *str) {
- char *s = str;
+ char *s = str;
char *ptr = str;
while(ptr && *ptr!='\0') {