comparison extensions/radius_gw/rgw_extensions.c @ 426:4349b77ad989

More verbose loop
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 24 Jun 2009 15:45:32 +0900
parents fc0d723c1f8b
children
comparison
equal deleted inserted replaced
425:3b6cab85490f 426:4349b77ad989
419 /* Loop in the list of extensions */ 419 /* Loop in the list of extensions */
420 for (li = head->next; li != head; li = li->next) { 420 for (li = head->next; li != head; li = li->next) {
421 struct ext_descr * ext = ((struct ext_accel_item *) li)->ext; 421 struct ext_descr * ext = ((struct ext_accel_item *) li)->ext;
422 422
423 if (ext->api.rga_diam_ans_cb) { 423 if (ext->api.rga_diam_ans_cb) {
424 TRACE_DEBUG(ANNOYING, "Calling next extension: %s", ext->extname); 424 TRACE_DEBUG(FULL, "Calling next extension's callback: %s", ext->extname);
425 ret = (*ext->api.rga_diam_ans_cb)(ext->cs, session, diam_ans, rad_ans, (void *)cli); 425 ret = (*ext->api.rga_diam_ans_cb)(ext->cs, session, diam_ans, rad_ans, (void *)cli);
426 if (ret) 426 if (ret)
427 break; 427 break;
428 } else { 428 } else {
429 TRACE_DEBUG(ANNOYING, "Skipping extension '%s' (NULL callback)", ext->extname); 429 TRACE_DEBUG(FULL, "Skipping extension '%s' (NULL callback)", ext->extname);
430 } 430 }
431 } 431 }
432 432
433 /* If no error encountered, we're done here */ 433 /* If no error encountered, we're done here */
434 if (ret == 0) 434 if (ret == 0)
"Welcome to our mercurial repository"