Do not use strcopy anymore with logging cmds

This commit is contained in:
vraatikka 2013-07-08 11:09:48 +03:00
parent 560164025a
commit 9d23fb024f

View File

@ -220,10 +220,10 @@ char buf[1024], *home, *cnf_file = NULL;
skygw_log_write(
NULL,
LOGFILE_ERROR,
strdup("Unable to find a gateway configuration file, either "
"install one in /etc/gateway.cnf, "
"$GATEWAY_HOME/etc/gateway.cnf or use the -c "
"option.\n"));
("Unable to find a gateway configuration file, either "
"install one in /etc/gateway.cnf, "
"$GATEWAY_HOME/etc/gateway.cnf or use the -c "
"option.\n"));
#endif
fprintf(stderr, "Unable to find a gateway configuration file, either install one in\n");
fprintf(stderr, "/etc/gateway.cnf, $GATEWAY_HOME/etc/gateway.cnf or use the -c option.\n");