Added back replacement counter incrementation.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2173 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-08-29 18:46:04 +00:00
parent 01ab8214bb
commit 9edee27ba6
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ int NamedList::replaceParams(String& str, bool sqlEsc, char extraEsc) const
str = str.substr(0,p1) + tmp + str.substr(p2+1);
// advance search offset past the string we just replaced
p1 += tmp.length();
cnt++;
}
else
return -1;