fs_cli works on windows

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10937 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2008-12-23 23:26:37 +00:00
parent e7c4953c99
commit d4ae1a8f1c
3 changed files with 16 additions and 3 deletions

View File

@@ -207,9 +207,9 @@ int main(int argc, char *argv[])
char cfile[512] = "/tmp/fs_cli_config";
char *home = getenv("HOME");
#else
char hfile[512] = "c:\\fs_cli_history";
char cfile[512] = "c:\\fs_cli_config";
char *home = getenv("HOME");
char hfile[512] = ".\\fs_cli_history";
char cfile[512] = ".\\fs_cli_config";
char *home = ""; //getenv("HOME");
#endif
strncpy(profiles[0].host, "127.0.0.1", sizeof(profiles[0].host));