mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
skinny correct field name
This commit is contained in:
parent
11cd5262f7
commit
9bdfb18715
@ -155,8 +155,8 @@ switch_status_t skinny_read_packet(listener_t *listener, skinny_message_t **req)
|
|||||||
memcpy(request, mbuf, bytes);
|
memcpy(request, mbuf, bytes);
|
||||||
#ifdef SKINNY_MEGA_DEBUG
|
#ifdef SKINNY_MEGA_DEBUG
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,
|
||||||
"Got request: length=%d,reserved=%x,type=%x\n",
|
"Got request: length=%d,version=%x,type=%x\n",
|
||||||
request->length,request->reserved,request->type);
|
request->length,request->version,request->type);
|
||||||
#endif
|
#endif
|
||||||
if(request->length < SKINNY_MESSAGE_FIELD_SIZE) {
|
if(request->length < SKINNY_MESSAGE_FIELD_SIZE) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
|
||||||
|
@ -702,7 +702,7 @@ union skinny_data {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* header is length+reserved
|
* header is length+version
|
||||||
* body is type+data
|
* body is type+data
|
||||||
* length is length of body
|
* length is length of body
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user