mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user