We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e86c46 commit 55a6b7aCopy full SHA for 55a6b7a
src/backend/libpq/pqpacket.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.10 1997/11/10 05:16:00 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.11 1997/11/17 16:18:07 thomas Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -37,6 +37,7 @@
37
38
39
#include <stdio.h>
40
+#include <unistd.h>
41
#include <sys/types.h>
42
#include <sys/socket.h>
43
#include <netdb.h>
@@ -65,7 +66,6 @@ PacketReceive(Port *port, /* receive port */
65
66
PacketLen cc; /* character count -- bytes recvd */
67
PacketLen packetLen; /* remaining packet chars to read */
68
Addr tmp; /* curr recv buf pointer */
- int addrLen = sizeof(struct sockaddr_in);
69
int hdrLen;
70
int flag;
71
int decr;
0 commit comments