mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
Wed May 13 11:37:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: unobfuscated casts of msg_header_t git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13341 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ae9f6cc6d1
commit
8937b3a4e1
5 files changed
+53
-34
No files matched your search
@@ -130,7 +130,7 @@ issize_t msg_auth_e(char b[], isize_t bsiz, msg_header_t const *h, int f)
|
||||
*/
|
||||
isize_t msg_auth_dup_xtra(msg_header_t const *h, isize_t offset)
|
||||
{
|
||||
msg_auth_t const *au = h->sh_auth;
|
||||
msg_auth_t const *au = (msg_auth_t *)h;
|
||||
|
||||
MSG_PARAMS_SIZE(offset, au->au_params);
|
||||
offset += MSG_STRING_SIZE(au->au_scheme);
|
||||
@@ -144,8 +144,8 @@ char *msg_auth_dup_one(msg_header_t *dst,
|
||||
char *b,
|
||||
isize_t xtra)
|
||||
{
|
||||
msg_auth_t *au = dst->sh_auth;
|
||||
msg_auth_t const *o = src->sh_auth;
|
||||
msg_auth_t *au = (msg_auth_t *)dst;
|
||||
msg_auth_t const *o = (msg_auth_t const *)src;
|
||||
char *end = b + xtra;
|
||||
|
||||
b = msg_params_dup(&au->au_params, o->au_params, b, xtra);
|
||||
|
||||
Reference in new issue
Block a user