proftpd / mod_ldap

ProFTPD module for LDAP authentication
http://horde.net/~jwm/software/mod_ldap/
8 stars 9 forks source link

new proftpd code and the new mod_ldap code make error #2

Open 776948741 opened 7 years ago

776948741 commented 7 years ago

Using the new proftpd code and the new mod_ldap code to compile, make is unusual cp mod_ldap/mod_ldap.c ./proftpd-1.3.6/contrib/mod_ldap.c ./configure --prefix=/usr/local/proftpd2 --enable-openssl --with-modules=mod_sftp:mod_ldap make

mod_ldap.c: In function ‘set_ldap_protoversion’: mod_ldap.c:1464:22: warning: dereferencing ‘void *’ pointer [enabled by default] while (cmd->argv[1][i]) { ^ mod_ldap.c:1464:10: error: void value not ignored as it ought to be while (cmd->argv[1][i]) { ^ In file included from ../include/conf.h:218:0, from mod_ldap.c:52: mod_ldap.c:1465:37: warning: dereferencing ‘void *’ pointer [enabled by default] if (! isdigit((int) cmd->argv[1][i])) { ^ mod_ldap.c:1465:5: error: invalid use of void expression if (! isdigit((int) cmd->argv[1][i])) {

bottookku commented 3 years ago

i too recive this error