Portability fix from Steve Nicolai.
authorTom Lane <[email protected]>
Sat, 24 Mar 2001 23:11:14 +0000 (23:11 +0000)
committerTom Lane <[email protected]>
Sat, 24 Mar 2001 23:11:14 +0000 (23:11 +0000)
src/bin/pg_dump/pg_backup_null.c

index 1c3a09784e45411e67ac1845df96478a88585fc2..0952c548fd41776ba8f56fb6226334a6467b8ca3 100644 (file)
@@ -17,7 +17,7 @@
  *
  *
  * IDENTIFICATION
- *             $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_null.c,v 1.5 2001/03/22 04:00:13 momjian Exp $
+ *             $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_null.c,v 1.6 2001/03/24 23:11:14 tgl Exp $
  *
  * Modifications - 09-Jul-2000 - [email protected]
  *
@@ -98,7 +98,7 @@ _EndData(ArchiveHandle *AH, TocEntry *te)
 static void
 _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
 {
-       if (*te->dataDumper)
+       if (te->dataDumper)
        {
                AH->currToc = te;
                (*te->dataDumper) ((Archive *) AH, te->oid, te->dataDumperArg);