|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.4.2.1 1996/08/19 13:36:43 scrappy Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.4.2.2 1996/10/30 21:17:39 scrappy Exp $ |
11 | 11 | *
|
12 | 12 | * NOTES
|
13 | 13 | * this is the "main" module of the postgres backend and
|
@@ -1223,7 +1223,7 @@ PostgresMain(int argc, char *argv[])
|
1223 | 1223 | */
|
1224 | 1224 | if (IsUnderPostmaster== false) {
|
1225 | 1225 | puts("\nPOSTGRES backend interactive interface");
|
1226 |
| -puts("$Revision: 1.4.2.1 $ $Date: 1996/08/19 13:36:43 $"); |
| 1226 | +puts("$Revision: 1.4.2.2 $ $Date: 1996/10/30 21:17:39 $"); |
1227 | 1227 | }
|
1228 | 1228 |
|
1229 | 1229 | /* ----------------
|
@@ -1253,7 +1253,7 @@ PostgresMain(int argc, char *argv[])
|
1253 | 1253 | if (FD_ISSET(serverSock,&rmask)) {
|
1254 | 1254 | /* new connection pending on our well-known port's socket */
|
1255 | 1255 | newFE= (FrontEnd*)malloc (sizeof(FrontEnd));
|
1256 |
| -memset(newFE,sizeof(FrontEnd),0); |
| 1256 | +memset(newFE,0,sizeof(FrontEnd)); |
1257 | 1257 | newFE->fn_connected= false;
|
1258 | 1258 | newFE->fn_done= false;
|
1259 | 1259 | newPort=&(newFE->fn_port);
|
|