#include <stdio.h>
#include <string.h>
#include <errno.h>
+#include <libcitadel.h>
#include "citadel.h"
#include "citadel_ipc.h"
#include "citadel_dirs.h"
-#include "tools.h"
void logoff(int code)
{
char relhome[PATH_MAX]="";
char ctdldir[PATH_MAX]=CTDLDIR;
-
- calc_dirs_n_files(relh, home, relhome, ctdldir);
+ calc_dirs_n_files(relh, home, relhome, ctdldir, 0);
/* If this environment variable is set, we assume that the program
* is being called as a cgi-bin from a webserver and will output