/* mode, return goodpass true if successful */
/* */
/********************************************************/
-static _Bool get_auth_login(CONTYP *contact,char **rmtpass)
+static void get_auth_login(CONTYP *contact,char **rmtpass)
{
static char *logdat[]={"VXNlcm5hbWU6", //Username: in B64
"UGFzc3dvcmQ6", //Password: in B64
(char *)0};
-_Bool goodpass;
char local[200];
-goodpass=false;
(void) memset(local,'\000',sizeof(local));
for (int i=0;i<2;i++) {
char *line;
line=rou_freestr(line);
}
if (strlen(local)>0)
- goodpass=checklogin(contact,rmtpass,local);
-return goodpass;
+ contact->authenticated=checklogin(contact,rmtpass,local);
}
/*
^L