From: thib Date: Sun, 11 May 2008 11:09:29 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ver3_0_5~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37e97a6cf4139db728609e0e44f1f0a835b5bdc6;p=fcron *** empty log message *** --- diff --git a/socket.c b/socket.c index 666258b..cd60692 100644 --- a/socket.c +++ b/socket.c @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: socket.c,v 1.24 2007-06-03 17:53:30 thib Exp $ */ + /* $Id: socket.c,v 1.25 2008-05-11 11:09:29 thib Exp $ */ /* This file contains all fcron's code (server) to handle communication with fcrondyn */ @@ -204,7 +204,7 @@ auth_client(struct fcrondyn_cl *client) char *pass_sys = NULL; char *pass_str = NULL; -#ifdef HAVE_LIBSHADOW +#ifdef HAVE_GETSPNAM struct spwd *pass_sp = NULL; if ( (pass_sp = getspnam((char *) client->fcl_cmd )) == NULL ) { error_e("could not getspnam %s", (char *) client->fcl_cmd);