Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07127b8

Browse files
committed
[Issue#400] some leftovers
1 parent7de7284 commit07127b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/catchup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ catchup_collect_info(PGNodeInfo*source_node_info, const char *source_pgdata, co
5252
instance_config.system_identifier=get_system_identifier(source_pgdata,FIO_DB_HOST);
5353
current.start_time=time(NULL);
5454

55-
StrNCpy(current.program_version,PROGRAM_VERSION,sizeof(current.program_version));
55+
strlcpy(current.program_version,PROGRAM_VERSION,sizeof(current.program_version));
5656

5757
/* Do some compatibility checks and fill basic info about PG instance */
5858
source_conn=pgdata_basic_setup(instance_config.conn_opt,source_node_info);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp