Searched refs:lnewstr (Results 1 – 1 of 1) sorted by relevance
/freebsd/usr.sbin/ppp/ |
H A D | command.c | 442 int ltgt, loldstr, lnewstr, pos; in subst() local 449 lnewstr = strlen(newstr); in subst() 452 if (loldstr > lnewstr) in subst() 453 bcopy(word + loldstr, word + lnewstr, ltgt - pos - loldstr); in subst() 454 if (loldstr != lnewstr) { in subst() 455 ntgt = realloc(tgt, ltgt += lnewstr - loldstr); in subst() 461 if (lnewstr > loldstr) in subst() 462 bcopy(word + loldstr, word + lnewstr, ltgt - pos - lnewstr); in subst() 463 bcopy(newstr, word, lnewstr); in subst()
|