From: wessels <> Date: Thu, 19 Feb 1998 06:37:40 +0000 (+0000) Subject: purify fixes? X-Git-Tag: SQUID_3_0_PRE1~4062 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09ab21250278fd7229d017a61b6ed11f190f53f1;p=thirdparty%2Fsquid.git purify fixes? --- diff --git a/src/ipc.cc b/src/ipc.cc index 7a3c8cc631..d4a5f930cd 100644 --- a/src/ipc.cc +++ b/src/ipc.cc @@ -1,6 +1,6 @@ /* - * $Id: ipc.cc,v 1.4 1998/02/10 22:17:53 wessels Exp $ + * $Id: ipc.cc,v 1.5 1998/02/18 23:37:40 wessels Exp $ * * DEBUG: section 54 Interprocess Communication * AUTHOR: Duane Wessels @@ -171,9 +171,9 @@ ipcCreate(int type, const char *prog, char *const args[], const char *name, int } memset(hello_buf, '\0', HELLO_BUF_SZ); if (type == IPC_UDP_SOCKET) - x = recv(prfd, hello_buf, 127, 0); + x = recv(prfd, hello_buf, HELLO_BUF_SZ, 0); else - x = read(prfd, hello_buf, 127); + x = read(prfd, hello_buf, HELLO_BUF_SZ); if (x < 0) { debug(50, 0) ("ipcCreate: PARENT: hello read test failed\n"); debug(50, 0) ("--> read: %s\n", xstrerror());