Merged revisions 47682 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006) | 2 lines

ouch... don't use printf, use ast_log/ast_verbose

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Kevin P. Fleming 19 years ago
parent a9057b2c65
commit cb4ed839c3

@ -1027,9 +1027,9 @@ int config_text_file_save(const char *configfile, const struct ast_config *cfg,
ast_verbose("Saved\n"); ast_verbose("Saved\n");
} else { } else {
if (option_debug) if (option_debug)
printf("Unable to open for writing: %s\n", fn); ast_log(LOG_DEBUG, "Unable to open for writing: %s\n", fn);
if (option_verbose > 1) if (option_verbose > 1)
printf( "Unable to write (%s)", strerror(errno)); ast_verbose(VERBOSE_PREFIX_2 "Unable to write (%s)", strerror(errno));
return -1; return -1;
} }
fclose(f); fclose(f);

Loading…
Cancel
Save