[asterisk-commits] kpfleming: trunk r135302 - /trunk/channels/chan_skinny.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Aug 2 08:21:17 CDT 2008
Author: kpfleming
Date: Sat Aug 2 08:21:16 2008
New Revision: 135302
URL: http://svn.digium.com/view/asterisk?view=rev&rev=135302
Log:
--enable-dev-mode is your friend :-)
Modified:
trunk/channels/chan_skinny.c
Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=135302&r1=135301&r2=135302
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Sat Aug 2 08:21:16 2008
@@ -4166,7 +4166,7 @@
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 @@
}
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;
More information about the asterisk-commits
mailing list