projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix makefile, full make now succeeds
[trust_router.git]
/
mon
/
tests
/
test_mon_resp_encode.c
diff --git
a/mon/tests/test_mon_resp_encode.c
b/mon/tests/test_mon_resp_encode.c
index
b4ecdfe
..
081ed2d
100644
(file)
--- a/
mon/tests/test_mon_resp_encode.c
+++ b/
mon/tests/test_mon_resp_encode.c
@@
-21,7
+21,7
@@
static char *reconfigure(MON_RESP_CODE code, const char *message)
req = mon_req_new(NULL, MON_CMD_RECONFIGURE);
assert(req);
req = mon_req_new(NULL, MON_CMD_RECONFIGURE);
assert(req);
- resp = mon_resp_new(NULL,
req,
code, message, NULL);
+ resp = mon_resp_new(NULL, code, message, NULL);
assert(resp);
resp_json = mon_resp_encode(resp);
assert(resp);
resp_json = mon_resp_encode(resp);
@@
-76,7
+76,7
@@
static char *show_success()
mon_opt_type_to_string(OPT_TYPE_SHOW_TID_REQ_COUNT),
json_integer(1432)));
mon_opt_type_to_string(OPT_TYPE_SHOW_TID_REQ_COUNT),
json_integer(1432)));
- resp = mon_resp_new(NULL,
req,
MON_RESP_SUCCESS, "success", payload);
+ resp = mon_resp_new(NULL, MON_RESP_SUCCESS, "success", payload);
assert(resp);
resp_json = mon_resp_encode(resp);
assert(resp);
resp_json = mon_resp_encode(resp);