]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Sun, 11 May 2008 11:09:29 +0000 (11:09 +0000)
committerthib <thib>
Sun, 11 May 2008 11:09:29 +0000 (11:09 +0000)
socket.c

index 666258b6fb70e98f50749645f3b7d0d688ea8b61..cd606928c7d16773d2fd33347a5c6267402c05d0 100644 (file)
--- 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);