From 22ae220bf618a2be98142fde365201ca2142853b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 14 Aug 2019 12:43:15 +0100 Subject: fix atari removal of login window --- frontends/atari/Makefile | 1 - frontends/atari/gui.c | 29 ----------------------------- 2 files changed, 30 deletions(-) diff --git a/frontends/atari/Makefile b/frontends/atari/Makefile index ee493ee20..7a3573d9f 100644 --- a/frontends/atari/Makefile +++ b/frontends/atari/Makefile @@ -96,7 +96,6 @@ S_FRONTEND := \ gui.c \ hotlist.c \ history.c \ - login.c \ misc.c \ osspec.c \ redrawslots.c \ diff --git a/frontends/atari/gui.c b/frontends/atari/gui.c index 8e80ef38a..64e83fc8f 100644 --- a/frontends/atari/gui.c +++ b/frontends/atari/gui.c @@ -761,35 +761,6 @@ static void gui_set_clipboard(const char *buffer, size_t length, } } -static nserror gui_401login_open(nsurl *url, const char *realm, - const char *username, const char *password, - nserror (*cb)(const char *username, - const char *password, - void *pw), - void *cbpw) -{ - bool bres; - char * u_out = NULL; - char * p_out = NULL; - - bres = login_form_do(url, (char*)realm, &u_out, &p_out); - if (bres) { - NSLOG(netsurf, INFO, "url: %s, realm: %s, auth: %s:%s\n", - nsurl_access(url), realm, u_out, p_out); - } - if (cb != NULL) { - cb(u_out, p_out, cbpw); - } - if (u_out != NULL) { - free(u_out); - } - if (p_out != NULL) { - free(p_out); - } - - return NSERROR_OK; -} - static nserror gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror (*cb)(bool proceed, void *pw), -- cgit v1.2.3