mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
--enable-dev-mode is your friend :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4166,7 +4166,7 @@ static int handle_keep_alive_message(struct skinny_req *req, struct skinnysessio
|
||||
|
||||
static int handle_register_message(struct skinny_req *req, struct skinnysession *s)
|
||||
{
|
||||
struct skinny_device *d;
|
||||
struct skinny_device *d = s->device;
|
||||
char name[16];
|
||||
int res;
|
||||
|
||||
@@ -4185,8 +4185,6 @@ static int handle_register_message(struct skinny_req *req, struct skinnysession
|
||||
}
|
||||
ast_verb(3, "Device '%s' successfully registered\n", name);
|
||||
|
||||
d = s->device;
|
||||
|
||||
if (!(req = req_alloc(sizeof(struct register_ack_message), REGISTER_ACK_MESSAGE)))
|
||||
return -1;
|
||||
|
||||
|
Reference in New Issue
Block a user