X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fopenid.c;fp=webcit%2Fopenid.c;h=ff358e347f7e2c3dc0c7609efbb00cb23b530513;hb=f0fba6ec25482b9922e4c627cbffae08f54a6d31;hp=efe4280ca29f0f93562bd82b97b0923799162716;hpb=f1ee61891901850ebbdee1e9440b363dc6df540a;p=citadel.git diff --git a/webcit/openid.c b/webcit/openid.c index efe4280ca..ff358e347 100644 --- a/webcit/openid.c +++ b/webcit/openid.c @@ -64,7 +64,7 @@ void openid_attach(void) { if (havebstr("attach_button")) { - lprintf(CTDL_DEBUG, "Attempting to attach %s\n", bstr("openid_url")); + syslog(LOG_DEBUG, "Attempting to attach %s\n", bstr("openid_url")); snprintf(buf, sizeof buf, "OIDS %s|%s/finalize_openid_login|%s", @@ -76,12 +76,12 @@ void openid_attach(void) { serv_puts(buf); serv_getln(buf, sizeof buf); if (buf[0] == '2') { - lprintf(CTDL_DEBUG, "OpenID server contacted; redirecting to %s\n", &buf[4]); + syslog(LOG_DEBUG, "OpenID server contacted; redirecting to %s\n", &buf[4]); http_redirect(&buf[4]); return; } else { - lprintf(CTDL_DEBUG, "OpenID attach failed: %s\n", &buf[4]); + syslog(LOG_DEBUG, "OpenID attach failed: %s\n", &buf[4]); } }