isdigit -> g_ascii_isdigit to make the build work.
Change-Id: I670b7b83976a9db9491e017015d570a4dc8f433d Reviewed-on: https://code.wireshark.org/review/4771 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
441698863d
commit
9d1afef1df
|
@ -439,7 +439,7 @@ get_if_name(const char *if_text)
|
|||
* Unfortunately, another colon can be used in "rpcap://host:port/"
|
||||
* before port. Check if colon is followed by digit.
|
||||
*/
|
||||
if ((strncmp(if_name, "://", 3) != 0) && !isdigit(if_name[1])) {
|
||||
if ((strncmp(if_name, "://", 3) != 0) && !g_ascii_isdigit(if_name[1])) {
|
||||
/*
|
||||
* OK, we've found a colon followed neither by "//" nor by digit.
|
||||
* Skip blanks following it.
|
||||
|
|
Loading…
Reference in New Issue