mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6421 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2494,7 +2494,9 @@ SWITCH_STANDARD_API(voicemail_api_function)
|
||||
for (hi = switch_hash_first(NULL, globals.profile_hash); hi; hi = switch_hash_next(hi)) {
|
||||
switch_hash_this(hi, NULL, NULL, &val);
|
||||
profile = (vm_profile_t *) val;
|
||||
break;
|
||||
if (profile) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -552,9 +552,9 @@ abyss_bool handler_hook(TSession * r)
|
||||
|
||||
for (i=0;i<r->response_headers.size;i++) {
|
||||
ti=&r->response_headers.item[i];
|
||||
ConnWrite(r->conn,ti->name,strlen(ti->name));
|
||||
ConnWrite(r->conn, ti->name, (uint32_t)strlen(ti->name));
|
||||
ConnWrite(r->conn,": ",2);
|
||||
ConnWrite(r->conn,ti->value,strlen(ti->value));
|
||||
ConnWrite(r->conn, ti->value, (uint32_t)strlen(ti->value));
|
||||
ConnWrite(r->conn,CRLF,2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user