fix windows build.. break other things.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5853 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-10-12 20:14:41 +00:00
parent e1fbb6ff65
commit e8f7c1b4fc
10 changed files with 128 additions and 113 deletions
@@ -4124,8 +4124,8 @@ SWITCH_STANDARD_APP(conference_function)
status = switch_ivr_collect_digits_count(session,
buf,
sizeof(pin_buf) - (unsigned int) strlen(pin_buf),
(unsigned int) strlen(conference->pin) - (unsigned int) strlen(pin_buf), "#", &term, 10000);
sizeof(pin_buf) - strlen(pin_buf),
strlen(conference->pin) - strlen(pin_buf), "#", &term, 10000);
}
pin_valid = (status == SWITCH_STATUS_SUCCESS && strcmp(pin_buf, conference->pin) == 0);
+1 -1
View File
@@ -344,7 +344,7 @@ SWITCH_STANDARD_APP(rss_function)
#endif
char term;
char *cp;
int blen = sizeof(cmd) - (int) strlen(cmd);
switch_size_t blen = sizeof(cmd) - strlen(cmd);
cp = cmd + blen;
switch_ivr_collect_digits_count(session, cp, blen, blen, "#", &term, 5000);
@@ -35,8 +35,11 @@
#include <switch_odbc.h>
#endif
#ifdef _MSC_VER /* compilers are stupid sometimes */
#define TRY_CODE(code) for(;;) {status = code; if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) { goto end; } break;}
#else
#define TRY_CODE(code) do {status = code; if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) { goto end; } break;} while(status)
#endif
SWITCH_MODULE_LOAD_FUNCTION(mod_voicemail_load);
SWITCH_MODULE_DEFINITION(mod_voicemail, mod_voicemail_load, NULL, NULL);
@@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="mod_voicemail"
ProjectGUID="{C24FB505-05D7-4319-8485-7540B44C8603}"
ProjectGUID="{D7F1E3F2-A3F4-474C-8555-15122571AF52}"
RootNamespace="mod_voicemail"
Keyword="Win32Proj"
>