more ast_copy_string conversions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-07-10 23:12:25 +00:00
parent edbc500b77
commit 206f712599
15 changed files with 59 additions and 59 deletions

View File

@@ -95,9 +95,9 @@ static int load_config(void)
cfg = ast_config_load(ENUM_CONFIG);
if (cfg) {
if (!(s=ast_variable_retrieve(cfg, "general", "h323driver"))) {
strncpy(h323driver, H323DRIVERDEFAULT, sizeof(h323driver) - 1);
ast_copy_string(h323driver, H323DRIVERDEFAULT, sizeof(h323driver));
} else {
strncpy(h323driver, s, sizeof(h323driver) - 1);
ast_copy_string(h323driver, s, sizeof(h323driver));
}
ast_config_destroy(cfg);
return 0;