1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-25 20:19:36 +00:00

FS-3647 --resolve fs_cli crash on windows

This commit is contained in:
Jeff Lenk 2011-10-28 08:41:17 -05:00
parent d8ae59fd70
commit 8aad82d653

@ -1159,8 +1159,8 @@ int main(int argc, char *argv[])
int argv_quiet = 0; int argv_quiet = 0;
int loops = 2, reconnect = 0, timeout = 0; int loops = 2, reconnect = 0, timeout = 0;
if (!strncasecmp("screen", term, 6) || if (term && (!strncasecmp("screen", term, 6) ||
!strncasecmp("vt100", term, 5)) { !strncasecmp("vt100", term, 5))) {
feature_level = 1; feature_level = 1;
} else { } else {
feature_level = 0; feature_level = 0;
@ -1472,4 +1472,4 @@ int main(int argc, char *argv[])
* End: * End:
* For VIM: * For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4: * vim:set softtabstop=4 shiftwidth=4 tabstop=4:
*/ */