$Log$
+ Revision 601.58 2002/11/07 04:40:07 ajc
+ * Repaired the "remember username/password" functionality of the client
+ (it was broken during the transition to the new client protocol library)
+
Revision 601.57 2002/11/06 05:03:01 ajc
* No changes; just testing CVS permissions
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
if (!strcasecmp(pass1, pass2)) {
CtdlIPCChangePassword(ipc, pass1, buf);
scr_printf("%s\n", buf);
- offer_to_remember_password(hostbuf, portbuf, fullname, pass1);
+ offer_to_remember_password(ipc, hostbuf, portbuf, fullname, pass1);
return (0);
} else {
scr_printf("*** They don't match... try again.\n");
if (r / 100 == 2) {
load_user_info(aaa);
- offer_to_remember_password(hostbuf, portbuf,
+ offer_to_remember_password(ipc, hostbuf, portbuf,
fullname, password);
goto PWOK;
}
#include "citadel_ipc.h"
#include "tools.h"
#include "commands.h"
+#include "client_passwords.h"
#define PWFILENAME "%s/.citadel.passwords"
-static void determine_pwfilename(char *pwfile, size_t n) {
+void determine_pwfilename(char *pwfile, size_t n) {
struct passwd *p;
p = getpwuid(getuid());
*
*/
-void determine_pwfilename(char *);
+
+void determine_pwfilename(char *pwfile, size_t n);
void get_stored_password(
char *host,
char *port,
char *port,
char *username,
char *password);
-void offer_to_remember_password(
+void offer_to_remember_password(CtdlIPC *ipc,
char *host,
char *port,
char *username,