Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 7d0dec6

Browse files
author
Brice Figureau
committed
Fix typo preventing mysql-snmp to start
Thanks to Jussi Haaja for noticing it and proposing a fix. Signed-off-by: Brice Figureau <[email protected]>
1 parent 532db8b commit 7d0dec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql-snmp

+2-2
Original file line numberDiff line numberDiff line change
@@ -996,9 +996,9 @@ sub my_snmp_handler {
996996
#got one to return
997997
if (defined $oidToUse) {
998998
if (NetSNMP::OID::compare($oid, $oidToUse) == 0) {
999-
dolog(LOG_DEBUG, "GETNEXT $oid == $oidToUse, no next, returning nothing"); if ($opt{verbose})
999+
dolog(LOG_DEBUG, "GETNEXT $oid == $oidToUse, no next, returning nothing") if ($opt{verbose});
10001000
next;
1001-
}
1001+
}
10021002
dolog(LOG_DEBUG, "Next oid to $oid is $oidToUse") if ($opt{verbose});
10031003
while (!set_value($request, $oidToUse, $request_info)) {
10041004
# got not value, we need to get the next oid

0 commit comments

Comments
 (0)