skinny correct field name

This commit is contained in:
Nathan Neulinger 2013-07-12 11:05:18 -05:00
parent 11cd5262f7
commit 9bdfb18715
2 changed files with 3 additions and 3 deletions

View File

@ -155,8 +155,8 @@ switch_status_t skinny_read_packet(listener_t *listener, skinny_message_t **req)
memcpy(request, mbuf, bytes);
#ifdef SKINNY_MEGA_DEBUG
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,
"Got request: length=%d,reserved=%x,type=%x\n",
request->length,request->reserved,request->type);
"Got request: length=%d,version=%x,type=%x\n",
request->length,request->version,request->type);
#endif
if(request->length < SKINNY_MESSAGE_FIELD_SIZE) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,

View File

@ -702,7 +702,7 @@ union skinny_data {
#endif
/*
* header is length+reserved
* header is length+version
* body is type+data
* length is length of body
*/