Add back strsep() function for previous commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@356335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.11
Paul Belanger 13 years ago
parent 9a3c569772
commit 7d3cdcffd2

@ -5912,6 +5912,7 @@ static int function_ilink(struct rpt *myrpt, char *param, char *digits, int comm
sprintf(sx,"%s:4569/%s",s1,sy + 1);
s1 = sx;
}
strsep(&s,",");
rpt_mutex_lock(&myrpt->lock);
l = myrpt->links.next;
/* try to find this one in queue */
@ -10329,6 +10330,7 @@ static int attempt_reconnect(struct rpt *myrpt, struct rpt_link *l)
sprintf(sx,"%s:4569/%s",s1,sy + 1);
s1 = sx;
}
strsep(&s,",");
snprintf(deststr, sizeof(deststr), "IAX2/%s", s1);
tele = strchr(deststr, '/');
if (!tele) {

Loading…
Cancel
Save