Fixed Apache 2 support. Had ap_strcat instead of apr_strcat.
authorjadestorm <jadestorm>
Wed, 8 May 2002 04:41:10 +0000 (04:41 +0000)
committerjadestorm <jadestorm>
Wed, 8 May 2002 04:41:10 +0000 (04:41 +0000)
Makefile.in
apache2/auth_user.c

index d6c79cd..e3012b1 100644 (file)
@@ -11,13 +11,13 @@ INSTALL = @INSTALL@
 all: mod_auth_kerb
 
 mod_auth_kerb: mod_auth_kerb.c
-       $(APXS) -c  ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c
+       $(APXS) -c ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c
 
 install:
        $(APXS) -c -i ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c
 
 clean:
-       /bin/rm -rf core *.o *.la *.lo *.slo .libs
+       /bin/rm -rf core *.o *.la *.lo *.slo *.so .libs
 
 distclean: clean
        /bin/rm -f Makefile config.h config.status config.cache config.log mod_auth_kerb.c
index b3fc994..7e828c9 100644 (file)
@@ -41,7 +41,7 @@ int kerb_authenticate_user(request_rec *r) {
 
        if (!auth_line) {
                apr_table_set(r->err_headers_out, "WWW-Authenticate",
-                       (char *)ap_pstrcat(r->pool, "Basic realm=\"", name, "\"", NULL));
+                       (char *)apr_pstrcat(r->pool, "Basic realm=\"", name, "\"", NULL));
                return HTTP_UNAUTHORIZED;
        }