summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-12-05 22:57:03 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-12-05 22:57:03 +0000
commit493f94fdb0ff28ade1b388ffa4a797b15983e24f (patch)
treea0b53ebbe27dced32fee84588ebfccf8791541c8 /usr.sbin/snmpd
parentb1c9e98378954f01ccf9b58f80287b075023fd31 (diff)
re-sync yylex to the other parsers
found by deraadt@
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r--usr.sbin/snmpd/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y
index d7ac346d6bd..4d98c5dadfc 100644
--- a/usr.sbin/snmpd/parse.y
+++ b/usr.sbin/snmpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.1 2007/12/05 09:22:44 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.2 2007/12/05 22:57:02 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -479,7 +479,7 @@ yylex(void)
top:
p = buf;
- while ((c = lgetc(0)) == ' ')
+ while ((c = lgetc(0)) == ' ' || c == '\t')
; /* nothing */
yylval.lineno = file->lineno;