We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba34215 commit cbb3e1cCopy full SHA for cbb3e1c
src/interfaces/libpq/pqexpbuffer.h
@@ -18,7 +18,7 @@
18
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
19
* Portions Copyright (c) 1994, Regents of the University of California
20
*
21
- * $PostgreSQL: pgsql/src/interfaces/libpq/pqexpbuffer.h,v 1.20 2008/11/26 00:26:23 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/pqexpbuffer.h,v 1.21 2008/11/26 16:23:11 tgl Exp $
22
23
*-------------------------------------------------------------------------
24
*/
@@ -57,7 +57,7 @@ typedef PQExpBufferData *PQExpBuffer;
57
*------------------------
58
59
#define PQExpBufferBroken(str) \
60
- (!(str) || (str)->maxlen == 0)
+ ((str) == NULL || (str)->maxlen == 0)
61
62
/*------------------------
63
* Initial size of the data buffer in a PQExpBuffer.
0 commit comments