Skip to content

Commit 07127b8

Browse files
committed
[Issue #400] some leftovers
1 parent 7de7284 commit 07127b8

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)