summaryrefslogtreecommitdiff
path: root/src/w32.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-07-04 10:40:08 +0300
committerEli Zaretskii <eliz@gnu.org>2014-07-04 10:40:08 +0300
commitf0f34bc8b91dad77474f8f8c8d9f4bda568eaace (patch)
tree70a88a4531f2d6d4ec45b39db085a8bad253ae42 /src/w32.c
parentc247c7753ea0b44525bd99c2cc7f35cbef1505d9 (diff)
downloademacs-f0f34bc8b91dad77474f8f8c8d9f4bda568eaace.tar.gz
src/w32.c (network_interface_info): Make sure the argument is a Lisp string.
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/w32.c b/src/w32.c
index 0892f932bc2..15e53600d95 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -8611,6 +8611,7 @@ network_interface_list (void)
Lisp_Object
network_interface_info (Lisp_Object ifname)
{
+ CHECK_STRING (ifname);
return network_interface_get_info (ifname);
}