We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87de80e commit 8b1ae8fCopy full SHA for 8b1ae8f
src/interfaces/libpq/libpq-int.h
@@ -12,7 +12,7 @@
12
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
13
* Portions Copyright (c) 1994, Regents of the University of California
14
*
15
- * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.87 2004/03/25 21:48:59 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.88 2004/05/31 18:42:40 tgl Exp $
16
17
*-------------------------------------------------------------------------
18
*/
@@ -490,7 +490,7 @@ __attribute__((format_arg(1)));
490
#else
491
#define SOCK_ERRNO errno
492
#define SOCK_STRERROR pqStrerror
493
-#define SOCK_ERRNO_SET(e) errno=e
+#define SOCK_ERRNO_SET(e) (errno = (e))
494
#endif
495
496
#endif /* LIBPQ_INT_H */
0 commit comments