Mon Jun 29 07:52:27 CDT 2009 kai.k.samposalo@nokia.com

* Symbian winscw build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14193 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-07-10 00:54:04 +00:00
1 parent 72210971cd
commit 780bce83a4
27 files changed
+93 -81

No files matched your search

@@ -1287,7 +1287,7 @@ sip_cseq_t *sip_cseq_create(su_home_t *home,
sip_cseq_t *cs;
if (method)
method_name = sip_method_name(method, method_name);
method_name = sip_method_name((sip_method_t)method, method_name);
if (method_name == NULL)
return NULL;
@@ -1298,7 +1298,7 @@ sip_cseq_t *sip_cseq_create(su_home_t *home,
if (cs) {
cs->cs_seq = seq;
cs->cs_method = method;
cs->cs_method = (sip_method_t)method;
if (!method)
method_name = strcpy((char *)(cs + 1), method_name);
cs->cs_method_name = method_name;
@@ -244,9 +244,11 @@ int sip_version_d(char **ss, char const **ver)
result = s;
l1 = span_token(s);
for (n = l1; IS_LWS(s[n]); n++);
for (n = l1; IS_LWS(s[n]); n++)
{}
if (s[n] == '/') {
for (n++; IS_LWS(s[n]); n++);
for (n++; IS_LWS(s[n]); n++)
{}
l2 = span_token(s + n);
n += l2;
}
@@ -436,7 +438,7 @@ sip_method_t sip_method_d(char **ss, char const **return_name)
*ss = (s + n);
if (return_name) *return_name = name;
return code;
return (sip_method_t)code;
}
/** Get method enum corresponding to method name */
@@ -86,7 +86,8 @@ int sip_prefs_parse(union sip_pref *sp,
*in_out_s = s + strlen(s);
return 1;
} else if (s[0] == '"' && s[1] != '\0') {
for (s++; IS_LWS(s[0]); s++);
for (s++; IS_LWS(s[0]); s++)
{}
} else
old_type = sp_error;
} else if (!s[0]) {
@@ -98,14 +99,16 @@ int sip_prefs_parse(union sip_pref *sp,
return 0;
if ((*return_negation = s[0] == '!'))
for (s++; IS_LWS(s[0]); s++);
for (s++; IS_LWS(s[0]); s++)
{}
if (*s == '#') {
/* Numeric */
double n1, n2;
char s0, *e;
for (s++; IS_LWS(s[0]); s++);
for (s++; IS_LWS(s[0]); s++)
{}
s0 = s[0];
@@ -143,10 +146,12 @@ int sip_prefs_parse(union sip_pref *sp,
s += n;
}
for (; IS_LWS(s[0]); s++);
for (; IS_LWS(s[0]); s++)
{}
if (s[0] == ',' || (s[0] == '"' && s[1] == '\0'))
for (s++; IS_LWS(s[0]); s++);
for (s++; IS_LWS(s[0]); s++)
{}
else
old_type = sp_error;