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.

Change the octstr_imm() to octstr_create().

Paul Keogh
ANAM Wireless Internet Solutions
http://www.anam.com
+353 1 284 7555 (wired)               +353 86 234 6047 (wireless)
Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland



Reply via email to