File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.10 1997/11/10 05: 16:00 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.11 1997/11/17 16:18:07 thomas Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
37
37
*
38
38
*/
39
39
#include <stdio.h>
40
+ #include <unistd.h>
40
41
#include <sys/types.h>
41
42
#include <sys/socket.h>
42
43
#include <netdb.h>
@@ -65,7 +66,6 @@ PacketReceive(Port *port, /* receive port */
65
66
PacketLen cc ; /* character count -- bytes recvd */
66
67
PacketLen packetLen ; /* remaining packet chars to read */
67
68
Addr tmp ; /* curr recv buf pointer */
68
- int addrLen = sizeof (struct sockaddr_in );
69
69
int hdrLen ;
70
70
int flag ;
71
71
int decr ;
You can’t perform that action at this time.
0 commit comments