From 83d7b60d74c999ebf882ef049afbcdf9160eec30 Mon Sep 17 00:00:00 2001
From: Chris Rienzo <chris.rienzo@grasshopper.com>
Date: Tue, 21 May 2013 09:27:39 -0400
Subject: [PATCH] mod_http_cache: forgot to add write to http_cache:// format

---
 src/mod/applications/mod_http_cache/mod_http_cache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mod/applications/mod_http_cache/mod_http_cache.c b/src/mod/applications/mod_http_cache/mod_http_cache.c
index 48e7c2ddb3..30eb0332c4 100644
--- a/src/mod/applications/mod_http_cache/mod_http_cache.c
+++ b/src/mod/applications/mod_http_cache/mod_http_cache.c
@@ -1567,6 +1567,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_http_cache_load)
 	file_interface->file_open = http_cache_file_open;
 	file_interface->file_close = http_file_close;
 	file_interface->file_read = http_file_read;
+	file_interface->file_write = http_file_write;
 
 	if (gcache.enable_file_formats) {
 		file_interface = switch_loadable_module_create_interface(*module_interface, SWITCH_FILE_INTERFACE);