]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
comm_close() in a child process doesn't work with async IO
authorwessels <>
Tue, 17 Nov 1998 08:28:56 +0000 (08:28 +0000)
committerwessels <>
Tue, 17 Nov 1998 08:28:56 +0000 (08:28 +0000)
src/ipc.cc

index 77097746ef2399030861eef832dcfd035fff66e2..1ff117e60305c9d731eed606f603cac48796d34a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipc.cc,v 1.13 1998/11/12 23:07:35 wessels Exp $
+ * $Id: ipc.cc,v 1.14 1998/11/17 01:28:56 wessels Exp $
  *
  * DEBUG: section 54    Interprocess Communication
  * AUTHOR: Duane Wessels
@@ -207,9 +207,9 @@ ipcCreate(int type, const char *prog, char *const args[], const char *name, int
     /* child */
     no_suid();                 /* give up extra priviliges */
     /* close shared socket with parent */
-    comm_close(prfd);
+    close(prfd);
     if (pwfd != prfd)
-       comm_close(pwfd);
+       close(pwfd);
     pwfd = prfd = -1;
 
     if (type == IPC_TCP_SOCKET) {