On Donnerstag, Juni 12, 2003, at 05:24 Uhr, Paul Keogh wrote:

Function is convert() in gwlib/octstr.c

Offending code is;

...
case 'E':
new = octstr_duplicate(va_arg(VALST(args), Octstr *));
if (!new)
new = octstr_imm("(null)");
octstr_url_encode(new);
...

You can't pass an immutable Octstr instance to the octstr_url_encode()
function.

how about octstr "manipulation" making a copy of the immutable once it has to be "modified"?

Andreas Fink
Global Networks Switzerland AG

------------------------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/� [EMAIL PROTECTED]
------------------------------------------------------------------

Reply via email to