From 06489267293a150428f91aa381d9cdc8645337fa Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 20 Mar 2015 14:02:43 +1100 Subject: [PATCH] Add user proxies to their own hashlist --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index 8613f8c1..473f265e 100644 --- a/src/generator.c +++ b/src/generator.c @@ -2206,7 +2206,7 @@ static proxy_instance_t *__add_userproxy(ckpool_t *ckp, gdata_t *gdata, const in proxy->ckp = ckp; mutex_init(&proxy->notify_lock); mutex_init(&proxy->share_lock); - HASH_ADD_INT(gdata->proxies, id, proxy); + HASH_ADD_INT(gdata->user_proxies, id, proxy); return proxy; }