(staying clean at least on non-adios paths is not hard)
if (listen(l, 1) == -1) {
fprintf(stderr, "Unable to listen on socket: %s\n",
strerror(errno));
if (listen(l, 1) == -1) {
fprintf(stderr, "Unable to listen on socket: %s\n",
strerror(errno));
mh_oauth_cred_free(cred);
mh_oauth_free(ctx);
mh_oauth_cred_free(cred);
mh_oauth_free(ctx);
/* xoauth is assumed */
adios(NULL, "only -saslmech xoauth2 is supported");
}
/* xoauth is assumed */
adios(NULL, "only -saslmech xoauth2 is supported");
}
#ifdef OAUTH_SUPPORT
return do_login(svc, browser, snoop);
#ifdef OAUTH_SUPPORT
return do_login(svc, browser, snoop);