Home
last modified time | relevance | path

Searched refs:loldstr (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/ppp/
H A Dcommand.c442 int ltgt, loldstr, lnewstr, pos; in subst() local
448 loldstr = strlen(oldstr); 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()