File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
31
31
* Portions Copyright (c) 1994, Regents of the University of California
32
32
*
33
- * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.163 2003/08/04 02:39:59 momjian Exp $
33
+ * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.164 2003/08/07 19:37:13 tgl Exp $
34
34
*
35
35
*-------------------------------------------------------------------------
36
36
*/
@@ -501,8 +501,8 @@ StreamConnection(int server_fd, Port *port)
501
501
* UnixWare 7+ and OpenServer 5.0.4 are known to have this bug, but it
502
502
* shouldn't hurt to catch it for all versions of those platforms.
503
503
*/
504
- if (port -> raddr .sa . sa_family == 0 )
505
- port -> raddr .sa . sa_family = AF_UNIX ;
504
+ if (port -> raddr .addr . ss_family == 0 )
505
+ port -> raddr .addr . ss_family = AF_UNIX ;
506
506
#endif
507
507
508
508
/* fill in the server (local) address */
You can’t perform that action at this time.
0 commit comments