On Monday 07 January 2008 16:45:24 Iñaki Baz Castillo wrote: > ----------------------------------- > Jan 7 16:42:30 [4101] ERROR:core:pv_printf: no more space for text [34] > Jan 7 16:42:30 [4101] ERROR:core:pv_printf: buffer overflow -- increase > the buffer size... > Jan 7 16:42:30 [4101] ERROR:avpops:ops_dbquery_avps: cannot print the > query ----------------------------------- > > It ocurrs when the RURI is very long (because the SQL uses the RURI). > > How can I increase that buffer size? Thanks a lot.
I've found in pvar.c: ----------------- #define PV_PRINT_BUF_SIZE 1024 #define PV_PRINT_BUF_NO 3 /*IMPORTANT NOTE - even if the function prints and returns a static buffer, it * has built-in support for 3 levels of nesting (or concurrent usage). * If you think it's not enough for you, either use pv_printf() directly, * either increase PV_PRINT_BUF_NO --bogdan */ ----------------- Should I increase PV_PRINT_BUF_SIZE or PV_PRINT_BUF_NO ? -- Iñaki Baz Castillo [EMAIL PROTECTED] _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel