[Opensrf-commits] r1701 - branches/rel_1_0/src/gateway (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 30 18:08:00 EDT 2009


Author: erickson
Date: 2009-04-30 18:07:55 -0400 (Thu, 30 Apr 2009)
New Revision: 1701

Modified:
   branches/rel_1_0/src/gateway/osrf_http_translator.c
Log:
activate the config options, need to that if you're going to use a cache server that's not == localhost:11211

Modified: branches/rel_1_0/src/gateway/osrf_http_translator.c
===================================================================
--- branches/rel_1_0/src/gateway/osrf_http_translator.c	2009-04-30 22:06:19 UTC (rev 1700)
+++ branches/rel_1_0/src/gateway/osrf_http_translator.c	2009-04-30 22:07:55 UTC (rev 1701)
@@ -32,6 +32,7 @@
 #define OSRF_HTTP_HEADER_SERVICE "X-OpenSRF-service"
 #define OSRF_HTTP_HEADER_MULTIPART "X-OpenSRF-multipart"
 
+
 char* configFile = DEFAULT_TRANSLATOR_CONFIG_FILE;
 char* configCtx = DEFAULT_TRANSLATOR_CONFIG_CTX;
 char* cacheServers = DEFAULT_TRANSLATOR_CACHE_SERVERS;
@@ -84,8 +85,8 @@
 	return NULL;
 }
 
-/** set up the configuratoin handlers */
-static const command_rec osrf_json_gateway_cmds[] = {
+/** set up the configuration handlers */
+static const command_rec osrfHttpTranslatorCmds[] = {
 	AP_INIT_TAKE1( OSRF_TRANSLATOR_CONFIG_FILE, osrfHttpTranslatorGetConfigFile,
 			NULL, RSRC_CONF, "osrf translator config file"),
 	AP_INIT_TAKE1( OSRF_TRANSLATOR_CONFIG_CTX, osrfHttpTranslatorGetConfigFileCtx,
@@ -511,7 +512,7 @@
 	NULL,
     NULL,
 	NULL,
-    NULL,
+    osrfHttpTranslatorCmds,
 	registerHooks,
 };
 



More information about the opensrf-commits mailing list