Re: [Proftpd-user] where to find mod_codeconv ?
[color=blue]
> mod_sql_tds.c: In function 'cmd_open':
> mod_sql_tds.c:442: error: too few arguments to function 'pr_timer_add'
> make[1]: *** [mod_sql_tds.o] Error 1
> make[1]: Leaving directory `/home/proftpd-1.3.2rc1/modules'
> make: *** [modules] Error 2[/color]
[color=blue]
> Here is the code block [ from mod_sql_tds.c ] that make is failing on:
>* /* set up our timer if necessary */
>* if (entry->ttl > 0) {
>*** entry->timer = pr_timer_add(entry->ttl, -1,
>**************************** &sql_tds_module,
>**************************** _sql_timer_callback);[/color]
This is due to a slight API change in 1.3.2rc1. To make the code compile,
change the mod_sql_tds.c to do:
* if (entry->ttl > 0) {
*** entry->timer = pr_timer_add(entry->ttl, -1,
**************************** &sql_tds_module,
**************************** _sql_timer_callback,
"TDS connection ttl");
The additional string parameter is used for trace logging of timers.
Cheers,
TJ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* I wanted only to try to live in accord with the promptings which came from
* my true self.* Why was that so very difficult?
*
* * -Herman Hesse
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
[url]http://sourceforge.net/services/buy/index.php[/url]
_______________________________________________
ProFTPD Users List* <proftpd-users@proftpd.org>
Unsubscribe problems?
[url]http://www.proftpd.org/list-unsub.html[/url]
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Where is the Life we have lost in living?
Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?
-T.S. Eliot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
[url]http://sourceforge.net/services/buy/index.php[/url]
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
[url]http://www.proftpd.org/list-unsub.html[/url]
Re: [Proftpd-user] where to find mod_codeconv ?
On Jun 5, 2008, at 1:56 PM, TJ Saunders wrote:
[color=blue]
> This is due to a slight API change in 1.3.2rc1. To make the code
> compile,
> change the mod_sql_tds.c to do:
>
> if (entry->ttl > 0) {
> entry->timer = pr_timer_add(entry->ttl, -1,
> &sql_tds_module,
> _sql_timer_callback,
> "TDS connection ttl");
>
> The additional string parameter is used for trace logging of timers.[/color]
TJ Any other mod_sql changes that might affect mod_sql_tds? I will
update the code in a bit to deal with any of the changes.
On a side note, if you use FreeBSD and have a recent enough ports
tree, the WITH_TDS option will build Proftpd with mod_sql_tds right
out of the port, pulling in FreeTDS as a depend, as I finally got
around to submitting it to the ports tree.
--
Patrick Muldoon
Network/Software Engineer
INOC ([url]http://www.inoc.net[/url])
PGPKEY ([url]http://www.inoc.net/~doon[/url])
Key ID: 0x370D752C
Foolproof operation: All parameters are hard coded.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
[url]http://sourceforge.net/services/buy/index.php[/url]
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
[url]http://www.proftpd.org/list-unsub.html[/url]