Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
776948741 opened this issue Aug 23, 2017 · 1 comment
Open

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

776948741 opened this issue Aug 23, 2017 · 1 comment

Comments

@776948741
Copy link

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
Copy link

i too recive this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants