use LOG for logging macro

clean up initlcp handling
This commit is contained in:
bodea 2004-11-05 04:55:25 +00:00
parent 91b978f4a8
commit d2c470fb4e
14 changed files with 509 additions and 511 deletions

View file

@ -4,7 +4,7 @@
/* strip domain part of username before sending RADIUS requests */
char const *cvs_id = "$Id: stripdomain.c,v 1.3 2004/11/05 02:39:35 bodea Exp $";
char const *cvs_id = "$Id: stripdomain.c,v 1.4 2004/11/05 04:55:27 bodea Exp $";
int __plugin_api_version = 1;
static struct pluginfuncs *p = 0;
@ -18,7 +18,7 @@ int plugin_pre_auth(struct param_pre_auth *data)
// Strip off @domain
if ((x = strchr(data->username, '@')))
{
p->_log(3, 0, 0, 0, "Stripping off trailing domain name \"%s\"\n", x);
p->log(3, 0, 0, 0, "Stripping off trailing domain name \"%s\"\n", x);
*x = 0;
}