* Check the password file for a host/port match; if found, stuff the user
* name and password into the user/pass buffers
*/
* Check the password file for a host/port match; if found, stuff the user
* name and password into the user/pass buffers
*/
-void get_stored_password(char *host, char *port, char *username, char *password)
-{
+void get_stored_password(char *host, char *port, char *username, char *password) {
-void set_stored_password(char *host, char *port, char *username, char *password)
-{
+void set_stored_password(char *host, char *port, char *username, char *password) {
-void offer_to_remember_password(CtdlIPC * ipc, char *host, char *port, char *username, char *password)
-{
+void offer_to_remember_password(CtdlIPC * ipc, char *host, char *port, char *username, char *password) {
if (rc_remember_passwords) {
if (boolprompt("Remember username/password for this site", 0)) {
set_stored_password(host, port, username, password);
if (rc_remember_passwords) {
if (boolprompt("Remember username/password for this site", 0)) {
set_stored_password(host, port, username, password);
set_stored_password(host, port, "", "");
}
}
set_stored_password(host, port, "", "");
}
}