From 396b656c82881cd568785212f9cc683438fe76b2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 21 Feb 2015 11:39:42 +1100 Subject: [PATCH] Use the correct json --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index 995b554d..73503436 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1504,7 +1504,7 @@ static void *proxy_send(void *arg) json_get_int(&subid, msg->json_msg, "subproxy"); json_get_int(&id, msg->json_msg, "jobid"); json_get_int(&proxyid, msg->json_msg, "proxy"); - json_get_int64(&client_id, val, "client_id"); + json_get_int64(&client_id, msg->json_msg, "client_id"); if (unlikely(proxyid != proxy->id)) { LOGWARNING("Proxysend for proxy %d got message for proxy %d!", proxy->id, proxyid);