Code cleanup
This commit is contained in:
@@ -1134,7 +1134,7 @@ static int ndpi_url_decode(const char *s, char *out) {
|
||||
if(c == '+') c = ' ';
|
||||
else if(c == '%' && (!ishex(*s++)||
|
||||
!ishex(*s++)||
|
||||
!sscanf(s - 2, "%2x", &c)))
|
||||
!sscanf(s - 2, "%2x", (unsigned int*)&c)))
|
||||
return(-1);
|
||||
|
||||
if(out) *o = c;
|
||||
|
||||
Reference in New Issue
Block a user