Re: error on subcontainer remove (-1) while deleting row

"Awadhesh Kumar" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

Thanks for response. I had tried the solution suggested by you  but still it
is printing the same error message on console.
error on subcontainer remove (-1).

What is the meaning of this error? Does it mean that container is unable
to remove the row context given in the API. What could be reason of this
problem?

Regards
Awadhesh.


On 1/31/08, Dave Shield <[email protected]> wrote:
>
> On 30/01/2008, Awadhesh Kumar <[email protected]> wrote:
>
> >   ctx = (gsomcGrpCfgTable_context *) CONTAINER_FIND (cb.container,
> &index);
> >
> >   if (ctx)
> >       CONTAINER_REMOVE (cb.container, &index);
>
> Try
>     CONTAINER_REMOVE( cb.container, ctx );
>
>
> Dave
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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.