projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #100 from painless-security/milestone/monitoring
[trust_router.git]
/
trp
/
msgtst.c
diff --git
a/trp/msgtst.c
b/trp/msgtst.c
index
da39570
..
7a6a585
100644
(file)
--- a/
trp/msgtst.c
+++ b/
trp/msgtst.c
@@
-81,14
+81,14
@@
int main(int argc, const char *argv[])
if (buflen>=MAX_MSG_LEN)
printf("Warning: file may exceed maximum message length (%d bytes).\n", MAX_MSG_LEN);
if (buflen>=MAX_MSG_LEN)
printf("Warning: file may exceed maximum message length (%d bytes).\n", MAX_MSG_LEN);
- msg=
tr_msg_decode(
buf, buflen);
+ msg=
tr_msg_decode(NULL,
buf, buflen);
/* if (rc==TRP_SUCCESS)
trp_msg_print(msg);*/
printf("\nEncoding...\n");
/* if (rc==TRP_SUCCESS)
trp_msg_print(msg);*/
printf("\nEncoding...\n");
- printf("Result: \n%s\n\n", tr_msg_encode(msg));
+ printf("Result: \n%s\n\n", tr_msg_encode(
NULL,
msg));
talloc_report_full(main_ctx, stdout);
talloc_report_full(main_ctx, stdout);