Re: svn commit: r11340 - trunk/subversion/libsvn_ra_dav
From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-10-13 00:27:31 CEST
On Tue, Oct 12, 2004 at 04:05:24PM -0500, Philip Martin wrote:
Isn't this going to do nasty things if cdata is "\n" or "" on entry?
neon has ne_shave to make this kind of code simple, I'd just do:
message = apr_pstrdup((*err)->pool, ne_shave(cdata, " \r\n\t")).
joe
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.