~ubuntu-branches/ubuntu/intrepid/net-snmp/intrepid-updates

« back to all changes in this revision

Viewing changes to agent/mibgroup/agentx/master_admin.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-11-28 12:29:34 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128122934-82xxzy2zcvypnvy7
Tags: 5.2.3-4ubuntu1
* Merge from debian unstable, remaining changes:
  - remove stop links from rc0 and rc6

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
{
132
132
    netsnmp_session *sp, **prevNext;
133
133
 
 
134
    if (!session)
 
135
        return AGENTX_ERR_NOT_OPEN;
 
136
 
134
137
    DEBUGMSGTL(("agentx/master", "close %08p, %d\n", session, sessid));
135
 
    if (session != NULL && sessid == -1) {
 
138
    if (sessid == -1) {
136
139
        unregister_mibs_by_session(session);
137
140
        unregister_index_by_session(session);
138
141
        snmp_call_callbacks(SNMP_CALLBACK_APPLICATION,