*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 24 Nov 2005 08:51:27 +0000 (08:51 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 24 Nov 2005 08:51:27 +0000 (08:51 +0000)
mmsoftware/mmftpd/src/mmftpd.c
mmsoftware/mmftpd/src/mmftpd.h

index aacaa43..ae58c58 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mmftpd.c,v 1.66.2.3 2005/11/22 08:58:18 mmondor Exp $ */
+/* $Id: mmftpd.c,v 1.66.2.4 2005/11/24 08:51:27 mmondor Exp $ */
 
 /*
  * Copyright (C) 2001-2004, Matthew Mondor
@@ -88,7 +88,7 @@
 
 MMCOPYRIGHT("@(#) Copyright (c) 2001-2004\n\
 \tMatthew Mondor. All rights reserved.\n");
-MMRCSID("$Id: mmftpd.c,v 1.66.2.3 2005/11/22 08:58:18 mmondor Exp $");
+MMRCSID("$Id: mmftpd.c,v 1.66.2.4 2005/11/24 08:51:27 mmondor Exp $");
 
 
 
@@ -4657,16 +4657,6 @@ thread_eintr(void)
 }
 
 
-static bool
-eintr(void)
-{
-    if (errno == EINTR)
-       return TRUE;
-
-    return FALSE;
-}
-
-
 /* Here are our real asynchroneous functions, called by the slave processes */
 
 
@@ -4727,7 +4717,7 @@ async_getuserline(struct async_msg *msg)
            NULL,
            NULL,
            NULL,
-           eintr
+           thread_eintr        /* not thread-specific */
        };
 
        getuserline_fdb = fdbopen(&fdf, NULL, -1, FDB_BUFSIZE, 0, 0, 0,
index de96cf3..c18eaec 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mmftpd.h,v 1.25.2.2 2005/11/22 07:45:26 mmondor Exp $ */
+/* $Id: mmftpd.h,v 1.25.2.3 2005/11/24 08:51:27 mmondor Exp $ */
 
 /*
  * Copyright (C) 2001-2004, Matthew Mondor
@@ -432,7 +432,6 @@ static void *thread_mutex_destroy(void *);
 static void thread_mutex_lock(void *);
 static void thread_mutex_unlock(void *);
 static bool thread_eintr(void);
-static bool eintr(void);
 
 static void async_checkpw(struct async_msg *);
 static void async_treesize(struct async_msg *);