summaryrefslogtreecommitdiffstats
path: root/support/htdigest.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-04-28 20:25:02 +0200
committerJeff Trawick <trawick@apache.org>2000-04-28 20:25:02 +0200
commit6bb2ecf9c8a64f8a91a7617625b7f20c0dd6791d (patch)
tree82f356b866c82a8d5fb80c1ea042a76ddc032e14 /support/htdigest.c
parentAdd back in the build before install step when using make install. (diff)
downloadapache2-6bb2ecf9c8a64f8a91a7617625b7f20c0dd6791d.tar.xz
apache2-6bb2ecf9c8a64f8a91a7617625b7f20c0dd6791d.zip
Win32:
install ab.exe fix dependency in Apache.dsw (ab is dependent on aprlib and ap) fix ab and htdigest projects so that they find all header files define ap_signal() in apr.hw - this is o.k. for casual use as with cmd-line programs use API_VAR_EXPORT as appropriate in getopt.c general: ab doesn't need to declare ap_optarg/ap_optind; fix a warning htdigest needs to call ap_initialize() to avoid segfault at startup git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85080 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htdigest.c')
-rw-r--r--support/htdigest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/htdigest.c b/support/htdigest.c
index 65200fcf1d..0bc3f0a2c6 100644
--- a/support/htdigest.c
+++ b/support/htdigest.c
@@ -213,7 +213,9 @@ int main(int argc, char *argv[])
char x[MAX_STRING_LEN];
char command[MAX_STRING_LEN];
int found;
-
+
+ ap_initialize();
+ atexit(ap_terminate);
ap_create_pool(&cntxt, NULL);
tn = NULL;