added missing the thread key initialisation for mk_cache_utils_gmt_text
---
 src/monkey.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/monkey.c b/src/monkey.c
index a0cf6a9..88cb15d 100644
--- a/src/monkey.c
+++ b/src/monkey.c
@@ -54,6 +54,7 @@ static void mk_thread_keys_init(void)
     pthread_key_create(&mk_cache_header_ka, NULL);
     pthread_key_create(&mk_cache_header_ka_max, NULL);
     pthread_key_create(&mk_cache_utils_gmtime, NULL);
+    pthread_key_create(&mk_cache_utils_gmt_text, NULL);
     pthread_key_create(&mk_plugin_event_k, NULL);
 }
 
-- 


>From 2e285a36ec95c597d3adf47296d06ceac53c1edd Mon Sep 17 00:00:00 2001
From: F13 <f13@[email protected]>
Date: Sat, 26 May 2012 20:07:45 +0530
Subject: [PATCH] monkey : adds thread key initialization

added missing the thread key initialisation for mk_cache_utils_gmt_text
---
 src/monkey.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/monkey.c b/src/monkey.c
index a0cf6a9..88cb15d 100644
--- a/src/monkey.c
+++ b/src/monkey.c
@@ -54,6 +54,7 @@ static void mk_thread_keys_init(void)
     pthread_key_create(&mk_cache_header_ka, NULL);
     pthread_key_create(&mk_cache_header_ka_max, NULL);
     pthread_key_create(&mk_cache_utils_gmtime, NULL);
+    pthread_key_create(&mk_cache_utils_gmt_text, NULL);
     pthread_key_create(&mk_plugin_event_k, NULL);
 }
 
-- 
1.7.9.5

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to