File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.6 1996/08/27 06:55:28 scrappy Exp $
13
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.7 1996/09/16 05:40:31 scrappy Exp $
14
14
*
15
15
* NOTES
16
16
*
@@ -590,7 +590,7 @@ ConnStartup(Port *port) /* receiving port */
590
590
tmp += sizeof (sp .execFile );
591
591
strncpy (sp .tty ,tmp , sizeof (sp .tty ));
592
592
593
- msgType = ntohl (port -> buf .msgtype );
593
+ msgType = ( MsgType ) ntohl (port -> buf .msgtype );
594
594
595
595
(void ) strncpy (namebuf , sp .user , NAMEDATALEN );
596
596
namebuf [NAMEDATALEN ] = '\0' ;
@@ -1011,7 +1011,7 @@ DoExec(StartupInfo *packet, int portFd)
1011
1011
(void ) strncpy (argbuf , packet -> options , ARGV_SIZE );
1012
1012
argbuf [ARGV_SIZE ] = '\0' ;
1013
1013
(void ) strncat (argbuf , ExtraOptions , ARGV_SIZE );
1014
- argbuf [(2 * ARGV_SIZE ) + 1 ] = '\0' ;
1014
+ argbuf [(2 * ARGV_SIZE )] = '\0' ;
1015
1015
split_opts (av , & ac , argbuf );
1016
1016
1017
1017
if (packet -> database [0 ])
You can’t perform that action at this time.
0 commit comments