On Fri, 03 Sep 2010 09:29:03 -0700 Wes wrote: WH> get_pid_from_inode returns the last pid found in /proc/ when the inode WH> of a socket can not be found. Moving the following line to the place WH> where an inode match has been detected solves this problem, as the pid WH> was already set to zero at the beginning of the function: pid = WH> strtoul(procinfo->d_name, NULL, 0);
+1 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
