Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ec610a7

Browse files
author
Bryan Henderson
committed
Remove 4th element of sigaction structure so it works on more platforms.
1 parent 682ccb8 commit ec610a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.9 1996/10/10 08:20:09 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.10 1996/10/15 07:16:41 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -338,7 +338,7 @@ freePGconn(PGconn *conn)
338338
static void
339339
closePGconn(PGconn *conn)
340340
{
341-
const struct sigaction ignore_action = {SIG_IGN, 0, 0, NULL};
341+
const struct sigaction ignore_action = {SIG_IGN, 0, 0};
342342
struct sigaction oldaction;
343343

344344
/* If connection is already gone, that's cool. No reason for kernel

0 commit comments

Comments
 (0)