hi, i've been wondering why compiling nagios-plugins kept throwing "check_snmp.c:341: parse error before `char'". it took me a few minutes to realise this is not c++, simply moving the declaration up to join the rest at beginning of the function fixed this rather confusing parse error. tony