]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: fixed ftmod_r2 on windows and removed the wrong ftmod_r2 project from freetd...
authorArnaldo Pereira <arnaldo@sangoma.com>
Sat, 6 Nov 2010 14:48:22 +0000 (12:48 -0200)
committerArnaldo Pereira <arnaldo@sangoma.com>
Sat, 6 Nov 2010 14:48:22 +0000 (12:48 -0200)
libs/freetdm/freetdm.2008.sln
libs/freetdm/src/ftmod/ftmod_r2/ftmod_r2.c

index 4d1f019987cc48e40795b065600477d372c18300..f059d941d3cb621c422b777e26b0c5776f3608af 100644 (file)
@@ -63,8 +63,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ftmod_sangoma_isdn", "src\f
                {93B8812C-3EC4-4F78-8970-FFBFC99E167D} = {93B8812C-3EC4-4F78-8970-FFBFC99E167D}\r
        EndProjectSection\r
 EndProject\r
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ftmod_r2", "src\ftmod\ftmod_r2\ftmod_r2.vcproj", "{94F04D58-5EB8-4B48-8FE5-75EBF468073B}"\r
-EndProject\r
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ftmod_r2", "src\ftmod\ftmod_r2\ftmod_r2.2008.vcproj", "{08C3EA27-A51D-47F8-B47D-B189C649CF30}"\r
 EndProject\r
 Global\r
@@ -162,12 +160,6 @@ Global
                {B2AF4EA6-0CD7-4529-9EB5-5AF43DB90395}.Release|Win32.ActiveCfg = Release|Win32\r
                {B2AF4EA6-0CD7-4529-9EB5-5AF43DB90395}.Release|Win32.Build.0 = Release|Win32\r
                {B2AF4EA6-0CD7-4529-9EB5-5AF43DB90395}.Release|x64.ActiveCfg = Release|Win32\r
-               {94F04D58-5EB8-4B48-8FE5-75EBF468073B}.Debug|Win32.ActiveCfg = Debug|Win32\r
-               {94F04D58-5EB8-4B48-8FE5-75EBF468073B}.Debug|Win32.Build.0 = Debug|Win32\r
-               {94F04D58-5EB8-4B48-8FE5-75EBF468073B}.Debug|x64.ActiveCfg = Debug|Win32\r
-               {94F04D58-5EB8-4B48-8FE5-75EBF468073B}.Release|Win32.ActiveCfg = Release|Win32\r
-               {94F04D58-5EB8-4B48-8FE5-75EBF468073B}.Release|Win32.Build.0 = Release|Win32\r
-               {94F04D58-5EB8-4B48-8FE5-75EBF468073B}.Release|x64.ActiveCfg = Release|Win32\r
                {08C3EA27-A51D-47F8-B47D-B189C649CF30}.Debug|Win32.ActiveCfg = Debug|Win32\r
                {08C3EA27-A51D-47F8-B47D-B189C649CF30}.Debug|Win32.Build.0 = Debug|Win32\r
                {08C3EA27-A51D-47F8-B47D-B189C649CF30}.Debug|x64.ActiveCfg = Debug|Win32\r
index df9e7736d59dddc4da02fe8004429a3a64c4ba3c..56c0bc6e73f12451786aac10a95e5d3d89c91ba3 100644 (file)
@@ -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;