Hi people,

I had an error running sqwebmail for the first time on my server.

In syslog it shows:
sqwebmail: Cache create failure - bad code

It ocurrs in the following part of the code and I have no clue.

> void prepare_login_cache()
> {
> int     pipefd[2];
> char    buf[2048];
> int     i, j;
> char    *userid, *login_time, *data;
> time_t  login_time_n;
> char    *f;
> FILE    *fp;
> .
> .
> .
> userid=buf;
> if ((login_time=strchr(userid, ' ')) == 0)
> {
>         syslog(LOG_DAEMON | LOG_CRIT,
>                 "sqwebmail: Cache create failure - bad code."); <---
>         exit(1);
> }

Can you help me out?

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry

Reply via email to