Skip to content

Commit 8b1ae8f

Browse files
committed
Too few parens for my taste in this macro.
1 parent 87de80e commit 8b1ae8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/libpq-int.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.87 2004/03/25 21:48:59 momjian Exp $
15+
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.88 2004/05/31 18:42:40 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -490,7 +490,7 @@ __attribute__((format_arg(1)));
490490
#else
491491
#define SOCK_ERRNO errno
492492
#define SOCK_STRERROR pqStrerror
493-
#define SOCK_ERRNO_SET(e) errno=e
493+
#define SOCK_ERRNO_SET(e) (errno = (e))
494494
#endif
495495

496496
#endif /* LIBPQ_INT_H */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy