[Opensrf-commits] r1700 - trunk/src/gateway (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 30 18:06:23 EDT 2009


Author: erickson
Date: 2009-04-30 18:06:19 -0400 (Thu, 30 Apr 2009)
New Revision: 1700

Modified:
   trunk/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: trunk/src/gateway/osrf_http_translator.c
===================================================================
--- trunk/src/gateway/osrf_http_translator.c	2009-04-30 21:36:10 UTC (rev 1699)
+++ trunk/src/gateway/osrf_http_translator.c	2009-04-30 22:06:19 UTC (rev 1700)
@@ -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,
@@ -515,7 +516,7 @@
 	NULL,
     NULL,
 	NULL,
-    NULL,
+    osrfHttpTranslatorCmds,
 	registerHooks,
 };
 



More information about the opensrf-commits mailing list