Re: "net-snmp-config --base-cflags" emits "-lcrypto", causes compiler warning

2007-03-11 Thread Mark Atwood
Thomas Anders <[EMAIL PROTECTED]> writes: > Mark Atwood wrote: > > I've got 5.3 installed on FC5. > > > > When I run "net-snmp-config --base-cflags", the output string contains > > "-lcrypto", which causes an annoying compiler warning when I compile > > with the resulting cflags string. > > I don

Re: "net-snmp-config --base-cflags" emits "-lcrypto", causes compiler warning

2007-03-11 Thread Thomas Anders
Mark Atwood wrote: > I've got 5.3 installed on FC5. > > When I run "net-snmp-config --base-cflags", the output string contains > "-lcrypto", which causes an annoying compiler warning when I compile > with the resulting cflags string. > [...] > [EMAIL PROTECTED] ~]$ net-snmp-config --base-cflags >

memory leaks, snmp_enum and tables

2007-03-11 Thread Magnus Fromreide
se_add_pair_to_slist is declared as int se_add_pair_to_slist(char* list, char* label, int value) I will use 'label' and 'value' below to refer to the arguments. In snmp_api.c, line 776 and 777 says: se_add_pair_to_slist("asntypes", strdup("uinteger"), ASN_GAUGE); se_add_pair_to_slist("asntypes