Re: trap initializing ----what is the " /* insert index here */ " meaning?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> BTW,the "snmpd daemon auto termination" problem unsolved by now yet.
> It make me headache for a long while.I am thinking the code file all days.

Then perhaps you should post the code again,
including the corrections you have made.

Certainly, changing

     long int *intpp = 8;

to

    long int intp = 8;
    long int *intpp = &intp;

worked for me.
(i.e. pointing to a memory location which contained the value 8,
 rather than pointing to the memory location with *address* 8).


I'd rather assumed you would be able to fix this sort of coding
problem yourself.

Dave

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.