1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-07 22:16:33 +00:00

Minor cosmetic fix.

This commit is contained in:
shinnok
2011-06-23 11:14:42 +00:00
parent b189bc31ec
commit 68bdff3e54

View File

@@ -217,7 +217,6 @@ int parse_ip_options(const char *txt, u8 *data, int datalen, int* firsthopoff, i
memset(data, 0, datalen);
int sourcerouting = 0;
for(;*c;c++){
switch(s){
case SLASH:
@@ -228,7 +227,7 @@ int parse_ip_options(const char *txt, u8 *data, int datalen, int* firsthopoff, i
}
if(isxdigit(*c)){
*d++ = strtol(c, &n, base);
c=n-1;
c = n-1;
}else{
if(errstr) Snprintf(errstr, errstrlen, "not a digit after '\\'");
return OP_FAILURE;