Browse Source

Add user proxies to their own hashlist

master
Con Kolivas 10 years ago
parent
commit
0648926729
  1. 2
      src/generator.c

2
src/generator.c

@ -2206,7 +2206,7 @@ static proxy_instance_t *__add_userproxy(ckpool_t *ckp, gdata_t *gdata, const in
proxy->ckp = ckp; proxy->ckp = ckp;
mutex_init(&proxy->notify_lock); mutex_init(&proxy->notify_lock);
mutex_init(&proxy->share_lock); mutex_init(&proxy->share_lock);
HASH_ADD_INT(gdata->proxies, id, proxy); HASH_ADD_INT(gdata->user_proxies, id, proxy);
return proxy; return proxy;
} }

Loading…
Cancel
Save