[Opensrf-commits] r1372 - trunk/src/gateway
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jul 25 11:30:19 EDT 2008
Author: erickson
Date: 2008-07-25 11:30:11 -0400 (Fri, 25 Jul 2008)
New Revision: 1372
Modified:
trunk/src/gateway/osrf_json_gateway.c
Log:
removing default config path so we don't have to mangle the C files at install time
Modified: trunk/src/gateway/osrf_json_gateway.c
===================================================================
--- trunk/src/gateway/osrf_json_gateway.c 2008-07-25 02:21:54 UTC (rev 1371)
+++ trunk/src/gateway/osrf_json_gateway.c 2008-07-25 15:30:11 UTC (rev 1372)
@@ -18,9 +18,6 @@
#define JSON_PROTOCOL "OSRFGatewayLegacyJSON"
#define GATEWAY_USE_LEGACY_JSON 1
-#define GATEWAY_DEFAULT_CONFIG "SYSCONFDIR/opensrf_core.xml"
-
-
/* our config structure */
typedef struct {
char* configfile; /* our bootstrap config file */
@@ -70,13 +67,6 @@
{NULL}
};
-/* build the config object */
-static void* osrf_json_gateway_create_config( apr_pool_t* p, server_rec* s) {
- osrf_json_gateway_config* cfg = (osrf_json_gateway_config*)
- apr_palloc(p, sizeof(osrf_json_gateway_config));
- cfg->configfile = GATEWAY_DEFAULT_CONFIG;
- return (void*) cfg;
-}
static void* osrf_json_gateway_create_dir_config( apr_pool_t* p, char* dir) {
osrf_json_gateway_dir_config* cfg = (osrf_json_gateway_dir_config*)
@@ -455,7 +445,7 @@
STANDARD20_MODULE_STUFF,
osrf_json_gateway_create_dir_config,
NULL,
- osrf_json_gateway_create_config,
+ NULL,
NULL,
osrf_json_gateway_cmds,
osrf_json_gateway_register_hooks,
More information about the opensrf-commits
mailing list