Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit55a6b7a

Browse files
author
Thomas G. Lockhart
committed
Include unistd.h to get read/write function declarations.
Remove unused variable addrLen.
1 parent8e86c46 commit55a6b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/libpq/pqpacket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* 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/1716:18:07 thomas Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -37,6 +37,7 @@
3737
*
3838
*/
3939
#include<stdio.h>
40+
#include<unistd.h>
4041
#include<sys/types.h>
4142
#include<sys/socket.h>
4243
#include<netdb.h>
@@ -65,7 +66,6 @@ PacketReceive(Port *port,/* receive port */
6566
PacketLencc;/* character count -- bytes recvd */
6667
PacketLenpacketLen;/* remaining packet chars to read */
6768
Addrtmp;/* curr recv buf pointer */
68-
intaddrLen=sizeof(structsockaddr_in);
6969
inthdrLen;
7070
intflag;
7171
intdecr;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp