freetdm: fixed ftmod_r2 on windows and removed the wrong ftmod_r2 project from freetdm msvc file

This commit is contained in:
Arnaldo Pereira committed 2010-11-06 12:48:22 -02:00
1 parent 5a8695d942
commit b912935c6c
2 files changed
+9 -8

No files matched your search

@@ -986,6 +986,15 @@ static FIO_SIG_CONFIGURE_FUNCTION(ftdm_r2_configure_span)
}
if (ftdm_strlen_zero_buf(val)) {
ftdm_log(FTDM_LOG_NOTICE, "Ignoring empty R2 advanced_protocol_file parameter\n");
/*
* TODO: investigate this
*
* despite the fact advanced_protocol_file was initialized as NULL, it's now a bad
* pointer - hence, this workaround.
* this seems to happen only on windows.
*
*/
r2conf.advanced_protocol_file = NULL;
continue;
}
r2conf.advanced_protocol_file = val;