|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.10 1996/10/13 04:49:57 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.11 1996/10/30 21:18:22 scrappy Exp $ |
11 | 11 | *
|
12 | 12 | * NOTES
|
13 | 13 | * this is the "main" module of the postgres backend and
|
@@ -1265,7 +1265,7 @@ PostgresMain(int argc, char *argv[])
|
1265 | 1265 | */
|
1266 | 1266 | if (IsUnderPostmaster== false) {
|
1267 | 1267 | puts("\nPOSTGRES backend interactive interface");
|
1268 |
| -puts("$Revision: 1.10 $ $Date: 1996/10/13 04:49:57 $"); |
| 1268 | +puts("$Revision: 1.11 $ $Date: 1996/10/30 21:18:22 $"); |
1269 | 1269 | }
|
1270 | 1270 |
|
1271 | 1271 | /* ----------------
|
@@ -1295,7 +1295,7 @@ PostgresMain(int argc, char *argv[])
|
1295 | 1295 | if (FD_ISSET(serverSock,&rmask)) {
|
1296 | 1296 | /* new connection pending on our well-known port's socket */
|
1297 | 1297 | newFE= (FrontEnd*)malloc (sizeof(FrontEnd));
|
1298 |
| -memset(newFE,sizeof(FrontEnd),0); |
| 1298 | +memset(newFE,0,sizeof(FrontEnd)); |
1299 | 1299 | newFE->fn_connected= false;
|
1300 | 1300 | newFE->fn_done= false;
|
1301 | 1301 | newPort=&(newFE->fn_port);
|
|