|
From: Jonathan S. <jo...@wi...> - 2006-07-17 20:08:44
|
Hello all, Why does my program complain about Segmentation Fault after a snmp_close function? snmp_close function runs successfully, then after the first two print functions where status = STAT_SUCCESS, it generates an error message. Inside the status switch, I have some code where the hostname and the oid is copied into a dynamic array. This causes the Segmentation Fault but I do not know why. The copy code does not change the parameter to the snmp_close function. |