mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
type variable not cleared in Sol 10 (Kyle Tucker)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1503 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
58ea98cc81
commit
3834b3262a
2 changed files with 5 additions and 0 deletions
|
|
@ -194,3 +194,4 @@ Christian Mies
|
|||
Andreas Behal
|
||||
O'Shaughnessy Evans
|
||||
Aravind Gottipati
|
||||
Kyle Tucker
|
||||
|
|
|
|||
|
|
@ -254,6 +254,10 @@ main (int argc, char **argv)
|
|||
}
|
||||
|
||||
/* We strip out the datatype indicator for PHBs */
|
||||
|
||||
/* Clean up type array - Sol10 does not necessarily zero it out */
|
||||
bzero(type, sizeof(type));
|
||||
|
||||
if (strstr (response, "Gauge: "))
|
||||
show = strstr (response, "Gauge: ") + 7;
|
||||
else if (strstr (response, "Gauge32: "))
|
||||
|
|
|
|||
Loading…
Reference in a new issue