mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Fix a compiler warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3298,12 +3298,16 @@ static void transmit_reset(struct skinny_device *d, int fullrestart)
|
|||||||
static void transmit_keepaliveack(struct skinnysession *s)
|
static void transmit_keepaliveack(struct skinnysession *s)
|
||||||
{
|
{
|
||||||
struct skinny_req *req;
|
struct skinny_req *req;
|
||||||
struct skinny_device *d = s->device;
|
|
||||||
|
|
||||||
if (!(req = req_alloc(0, KEEP_ALIVE_ACK_MESSAGE)))
|
if (!(req = req_alloc(0, KEEP_ALIVE_ACK_MESSAGE)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef AST_DEVMODE
|
||||||
|
{
|
||||||
|
struct skinny_device *d = s->device;
|
||||||
SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting KEEP_ALIVE_ACK_MESSAGE to %s\n", (d ? d->name : "unregistered"));
|
SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting KEEP_ALIVE_ACK_MESSAGE to %s\n", (d ? d->name : "unregistered"));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
transmit_response_bysession(s, req);
|
transmit_response_bysession(s, req);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user