]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add missing variable, per Massimo.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jan 1999 21:05:23 +0000 (21:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jan 1999 21:05:23 +0000 (21:05 +0000)
src/backend/utils/misc/trace.c

index 1ac48bc82d7a381a189fb288ecf9f3a60cd69abd..5417243a8dde7bb7a46418da0daf12a014857239 100644 (file)
@@ -190,6 +190,8 @@ eprintf(const char *fmt,...)
 void
 write_syslog(int level, char *line)
 {
+       static int openlog_done = 0;
+
        if (UseSyslog >= 1)
        {
                if (!openlog_done)