Skip to main content
summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorEugene Tarassov2011-11-21 13:08:47 -0500
committerEugene Tarassov2011-11-21 13:08:47 -0500
commit00d8440c4c6403ac1d5820a8b9e304b660d75e1f (patch)
tree4f4a1df9bd95427269468c359a93e3074cbc45ff /server
parentc6c48a91381977b082b20e93bec55a7be9fe5d14 (diff)
parentb7a76d5c2e04197a05f52d99a2401457b77ca83b (diff)
downloadorg.eclipse.tcf.agent-00d8440c4c6403ac1d5820a8b9e304b660d75e1f.tar.gz
org.eclipse.tcf.agent-00d8440c4c6403ac1d5820a8b9e304b660d75e1f.tar.xz
org.eclipse.tcf.agent-00d8440c4c6403ac1d5820a8b9e304b660d75e1f.zip
Merge remote branch 'remotes/origin/master' into juno-refactoring
Diffstat (limited to 'server')
-rw-r--r--server/tcf/services/context-proxy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tcf/services/context-proxy.c b/server/tcf/services/context-proxy.c
index 870f2b25..cbbd2337 100644
--- a/server/tcf/services/context-proxy.c
+++ b/server/tcf/services/context-proxy.c
@@ -152,7 +152,7 @@ struct PeerCache {
#define ctx2stk(A) ((StackFrameCache *)((char *)(A) - offsetof(StackFrameCache, link_ctx)))
#define idhashl2ctx(A) ((ContextCache *)((char *)(A) - offsetof(ContextCache, id_hash_link)))
-static LINK peers;
+static LINK peers = TCF_LIST_INIT(peers);
static MemoryRegion * mem_buf = NULL;
static unsigned mem_buf_max = 0;
@@ -1540,7 +1540,6 @@ void init_contexts_sys_dep(void) {
add_context_event_listener(&listener, NULL);
add_channel_close_listener(channel_close_listener);
context_extension_offset = context_extension(sizeof(ContextCache *));
- list_init(&peers);
}
#endif /* ENABLE_DebugContext && ENABLE_ContextProxy */

Back to the top