[Devel] acc_mod.c does not compile when sql accounting is disabled

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat Sep 30 18:44:33 CEST 2006


Hi Juha,


thanks for report - I committed a fix on the CVS.

regards,
bogdan

Juha Heinanen wrote:

>acc_mod.c does not compile when sql accounting is disabled:
>
>acc_mod.c: In function `acc_fixup':
>acc_mod.c:288: error: `db_url' undeclared (first use in this function)
>
>this line references variable db_url, which is only defined if SQL_ACC
>is defined:
>
>		/* only for db acc - the table name */
>		if (db_url==0) {
>			pkg_free(p);
>			*param = 0;
>		}
>
>i guess the above code piece of code needs to be SQL_ACC ifdef'ed.
>
>-- juha
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>  
>




More information about the Devel mailing list