Commit 97580f69 authored by Bruce Momjian's avatar Bruce Momjian

A few more macro cleanups

parent 2a08204e
......@@ -33,10 +33,13 @@ char *ps_status_buffer = NULL
} while (0)
#define PS_CLEAR_STATUS() \
do { if (ps_status_buffer) memset(ps_status_buffer, 0, strlen(ps_status_buffer)); }
do { \
if (ps_status_buffer) \
memset(ps_status_buffer, 0, strlen(ps_status_buffer)); \
} while (0)
#define PS_SET_STATUS(status) \
{ \
do { \
if (ps_status_buffer) \
{ \
PS_CLEAR_STATUS(); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment