Commit 24632b0e authored by Bruce Momjian's avatar Bruce Momjian

fix for previous fix

parent 6e2341a4
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.44 1997/01/02 06:45:25 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.45 1997/01/02 07:07:32 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1378,12 +1378,10 @@ MainLoop(PsqlSettings * settings, FILE * source) ...@@ -1378,12 +1378,10 @@ MainLoop(PsqlSettings * settings, FILE * source)
query); query);
if (slashCmdStatus == 1) { if (slashCmdStatus == 1) {
if (query[0] == '\0') if (query[0] == '\0')
{
paren_level = 0; paren_level = 0;
free(line); free(line);
continue; continue;
} }
}
if (slashCmdStatus == 2) { if (slashCmdStatus == 2) {
free(line); free(line);
break; break;
......
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