]> code.citadel.org Git - citadel.git/commitdiff
* rewrite stripallbut() to return the length
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 26 Nov 2010 00:11:08 +0000 (01:11 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 27 Nov 2010 12:58:50 +0000 (13:58 +0100)
 - remove strlen from the for loop abort condition
 - move string around _once_
 - return the length of the string we operated on, since we know it after the operation anyways.


No differences found