~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/agent/nsCache.c

  • Committer: Bazaar Package Importer
  • Author(s): Jochen Friedrich
  • Date: 2009-11-12 16:17:40 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20091112161740-t2xvix834vmtxa9f
Tags: upstream-5.4.2.1~dfsg
ImportĀ upstreamĀ versionĀ 5.4.2.1~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
 
273
273
    case MODE_GET:
274
274
        for (request=requests; request; request=request->next) {
275
 
            if (requests->processed != 0)
 
275
            if (request->processed != 0)
276
276
                continue;
277
277
 
278
278
            cache_entry = (netsnmp_cache*)netsnmp_extract_iterator_context(request);
316
316
 
317
317
    case MODE_SET_RESERVE1:
318
318
        for (request=requests; request; request=request->next) {
319
 
            if (requests->processed != 0)
 
319
            if (request->processed != 0)
320
320
                continue;
321
321
            if ( request->status != 0 ) {
322
322
                return SNMP_ERR_NOERROR;        /* Already got an error */
369
369
 
370
370
    case MODE_SET_COMMIT:
371
371
        for (request=requests; request; request=request->next) {
372
 
            if (requests->processed != 0)
 
372
            if (request->processed != 0)
373
373
                continue;
374
374
            if ( request->status != 0 ) {
375
375
                return SNMP_ERR_NOERROR;        /* Already got an error */