]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
revert a change that wasn't supposed to be committed... doh!
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 17 Sep 2007 16:40:12 +0000 (16:40 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 17 Sep 2007 16:40:12 +0000 (16:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 52925b25e11d239e5cb0e4c9a2219b41a4a2a444..3e530997046c6b91b0e7b9bc7b58250f10ce2b3c 100644 (file)
@@ -5835,7 +5835,7 @@ static void reg_source_db(struct iax2_peer *p)
                                        if (p->expire > -1)
                                                ast_sched_del(sched, p->expire);
                                        ast_device_state_changed("IAX2/%s", p->name); /* Activate notification */
-                                       p->expire = iax2_sched_add(sched, (p->expiry + 10) * 1000, expire_registry, (void *)(char *)p->name);
+                                       p->expire = iax2_sched_add(sched, (p->expiry + 10) * 1000, expire_registry, (void *)p->name);
                                        if (iax2_regfunk)
                                                iax2_regfunk(p->name, 1);
                                        register_peer_exten(p, 1);