Author: jfrederic.clere(a)jboss.com
Date: 2008-03-26 13:57:18 -0400 (Wed, 26 Mar 2008)
New Revision: 1467
Modified:
sandbox/httpd/src/native/mod_manager/mod_manager.c
Log:
Add REMOVE application.
Modified: sandbox/httpd/src/native/mod_manager/mod_manager.c
===================================================================
--- sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-03-26 17:38:43 UTC (rev 1466)
+++ sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-03-26 17:57:18 UTC (rev 1467)
@@ -290,7 +290,10 @@
ptr ++;
}
strncpy(info.context, previous, sizeof(info.context));
- insert_update_context(mem, &info);
+ if (status != REMOVE)
+ insert_update_context(mem, &info);
+ else
+ remove_context(mem, &info);
return ret;
}
@@ -535,7 +538,7 @@
}
static int process_remove(request_rec *r, char *buff)
{
- return OK;
+ return process_appl_cmd(r, buff, REMOVE);
}
static int process_status(request_rec *r, char *buff)
{
Show replies by date