(install_service, info, apro) [_WIN32]: Convert to standard snprintf()

from _snprintf().

[_WIN32]: Add #define snprintf to convert to _snprintf for WIN32
Visual Studio.
This commit is contained in:
Ron Koenderink 2006-06-23 00:13:21 +00:00
parent 591b8d4862
commit 0e4eb6bf0a
3 changed files with 7 additions and 6 deletions

View file

@ -47,7 +47,7 @@ install_service(char *program_name, char *service_name, char *config_file)
SERVICE_DESCRIPTION sdBuf;
if (config_file != NULL)
_snprintf(&program_name[strlen(program_name)], _MAX_PATH-strlen(program_name), " -e %s",
snprintf(&program_name[strlen(program_name)], _MAX_PATH-strlen(program_name), " -e %s",
config_file);
if (service_name == NULL)