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

Commit8b1ae8f

Browse files
committed
Too few parens for my taste in this macro.
1 parent87de80e commit8b1ae8f

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
#defineSOCK_ERRNO errno
492492
#defineSOCK_STRERROR pqStrerror
493-
#defineSOCK_ERRNO_SET(e) errno=e
493+
#defineSOCK_ERRNO_SET(e)(errno = (e))
494494
#endif
495495

496496
#endif/* LIBPQ_INT_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp