|
18 | 18 | * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
19 | 19 | * Portions Copyright (c) 1994, Regents of the University of California
|
20 | 20 | *
|
21 |
| - * $PostgreSQL: pgsql/src/interfaces/libpq/pqexpbuffer.h,v 1.20 2008/11/2600:26:23 tgl Exp $ |
| 21 | + * $PostgreSQL: pgsql/src/interfaces/libpq/pqexpbuffer.h,v 1.21 2008/11/2616:23:11 tgl Exp $ |
22 | 22 | *
|
23 | 23 | *-------------------------------------------------------------------------
|
24 | 24 | */
|
@@ -57,7 +57,7 @@ typedef PQExpBufferData *PQExpBuffer;
|
57 | 57 | *------------------------
|
58 | 58 | */
|
59 | 59 | #definePQExpBufferBroken(str) \
|
60 |
| -(!(str) || (str)->maxlen == 0) |
| 60 | +((str) == NULL || (str)->maxlen == 0) |
61 | 61 |
|
62 | 62 | /*------------------------
|
63 | 63 | * Initial size of the data buffer in a PQExpBuffer.
|
|