It's that comma on line 11.
In reply to Re: Problem using threads and snmp by BrowserUk in thread Problem using threads and snmp by rnery