Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/server.vcproj8
-rw-r--r--server/tcf/services/context-proxy.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/server/server.vcproj b/server/server.vcproj
index c3068a38..46290dd1 100644
--- a/server/server.vcproj
+++ b/server/server.vcproj
@@ -347,6 +347,14 @@
>
</File>
<File
+ RelativePath="..\agent\tcf\services\contextquery.c"
+ >
+ </File>
+ <File
+ RelativePath="..\agent\tcf\services\contextquery.h"
+ >
+ </File>
+ <File
RelativePath="..\agent\tcf\services\diagnostics.c"
>
</File>
diff --git a/server/tcf/services/context-proxy.c b/server/tcf/services/context-proxy.c
index 9aa54ff5..a2ff4ade 100644
--- a/server/tcf/services/context-proxy.c
+++ b/server/tcf/services/context-proxy.c
@@ -971,7 +971,8 @@ static void read_memory_region_property(InputStream * inp, const char * name, vo
else if (strcmp(name, "Flags") == 0) m->flags = json_read_ulong(inp);
else if (strcmp(name, "FileName") == 0) m->file_name = json_read_alloc_string(inp);
else if (strcmp(name, "SectionName") == 0) m->sect_name = json_read_alloc_string(inp);
- else if (strcmp(name, "ID")) m->id = json_read_alloc_string(inp);
+ else if (strcmp(name, "ContextQuery") == 0) m->query = json_read_alloc_string(inp);
+ else if (strcmp(name, "ID") == 0) m->id = json_read_alloc_string(inp);
else {
MemoryRegionAttribute * x = (MemoryRegionAttribute *)loc_alloc(sizeof(MemoryRegionAttribute));
x->name = loc_strdup(name);

Back to the top