/* walled garden */
-char const *cvs_id = "$Id: garden.c,v 1.19 2004/12/01 02:52:46 bodea Exp $";
+char const *cvs_id = "$Id: garden.c,v 1.20.2.1 2005/05/07 03:51:20 bodea Exp $";
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
if (flag != F_CLEANUP)
{
/* OK, we're up! */
- u16 r = p->radiusnew(p->get_id_by_session(s));
- p->radiussend(r, RADIUSSTART);
+ uint16_t r = p->radiusnew(p->get_id_by_session(s));
+ if (r) p->radiussend(r, RADIUSSTART);
}
}