artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3ea10
)
fix copied text in error string
author
blambert
<blambert@openbsd.org>
Thu, 24 Apr 2014 08:51:08 +0000
(08:51 +0000)
committer
blambert
<blambert@openbsd.org>
Thu, 24 Apr 2014 08:51:08 +0000
(08:51 +0000)
ok reyk@
usr.sbin/snmpd/parse.y
patch
|
blob
|
history
diff --git
a/usr.sbin/snmpd/parse.y
b/usr.sbin/snmpd/parse.y
index
db25bb8
..
fe5d7fe
100644
(file)
--- a/
usr.sbin/snmpd/parse.y
+++ b/
usr.sbin/snmpd/parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: parse.y,v 1.3
0 2014/04/14 12:55:10
blambert Exp $ */
+/* $OpenBSD: parse.y,v 1.3
1 2014/04/24 08:51:08
blambert Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@
-232,7
+232,7
@@
main : LISTEN ON STRING {
if (strlcpy(conf->sc_trcommunity, $3,
sizeof(conf->sc_trcommunity)) >=
sizeof(conf->sc_trcommunity)) {
- yyerror("
r/w
community name too long");
+ yyerror("
trap
community name too long");
free($3);
YYERROR;
}