apache.patch.modauthmysql 699 B

123456789101112131415161718192021222324
  1. Index: mod_auth_mysql.c
  2. --- mod_auth_mysql.c.orig 2004-09-10 20:46:16 +0200
  3. +++ mod_auth_mysql.c 2004-09-10 20:50:32 +0200
  4. @@ -127,9 +127,9 @@
  5. #include "http_request.h" /* for ap_hook_(check_user_id | auth_checker)*/
  6. #include "ap_compat.h"
  7. #include "apr_strings.h"
  8. -#include "util_md5.h"
  9. #include "crypt.h"
  10. #endif
  11. +#include "util_md5.h"
  12. #include <mysql.h>
  13. /*
  14. @@ -412,7 +412,7 @@
  15. (void*)XtOffsetOf(mysql_auth_config_rec, mysqlsocket),
  16. OR_AUTHCFG, TAKE1, "mysql server socket path" },
  17. - { "AuthMySQLPort", ap_set_int_slot,
  18. + { "AuthMySQLPort", ap_set_flag_slot,
  19. (void*)XtOffsetOf(mysql_auth_config_rec, mysqlport),
  20. OR_AUTHCFG, TAKE1, "mysql server port number" },