}
if((ret = krb5_cc_resolve(k5context, buf, &data->ccache)) != 0)
{
- flog(LOG_ERR, "could not resolve ccache name \"%s\": %s", buf2, error_message(ret));
+ flog(LOG_ERR, "could not resolve ccache name \"%s\": %s", buf, error_message(ret));
return(AUTH_ERR);
}
setenv("KRB5CCNAME", buf, 1);
{
struct adchub *hub;
- getsock(hub->sk = sk);
sk->readcb = (void (*)(struct socket *, void *))hubread;
sk->errcb = (void (*)(struct socket *, int, void *))huberr;
sk->data = fn;
hub = smalloc(sizeof(*hub));
memset(hub, 0, sizeof(*hub));
+ getsock(hub->sk = sk);
if((hub->ich = iconv_open("wchar_t", "utf-8")) == (iconv_t)-1) {
flog(LOG_CRIT, "iconv cannot handle UTF-8: %s", strerror(errno));
killfnetnode(fn);