#include "config.h"
#include "tools.h"
#include "citserver.h"
+#include "citadel_dirs.h"
#include "genstamp.h"
/*
void put_visit(struct visit *newvisit)
{
char IndexBuf[32];
- int IndexLen;
+ int IndexLen = 0;
/* Generate an index */
IndexLen = GenerateRelationshipIndex(IndexBuf,
*/
void session_startup(void)
{
- int i;
+ int i = 0;
lprintf(CTDL_NOTICE, "<%s> logged in\n", CC->curr_user);
* make that assumption.
*/
strcpy(who->fake_username, "");
- strcpy(who->fake_postname, "");
strcpy(who->fake_hostname, "");
strcpy(who->fake_roomname, "");
who->logged_in = 0;
}
close(pipev[0]);
- execl(CTDLDIR "/chkpwd", CTDLDIR "/chkpwd", NULL);
- perror(CTDLDIR "/chkpwd");
+ execl(file_chkpwd, file_chkpwd, NULL);
+ perror(file_chkpwd);
exit(1);
}