projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a 'request_id' to TID requests and responses
[trust_router.git]
/
tid
/
tids.c
diff --git
a/tid/tids.c
b/tid/tids.c
index
c1c9bcb
..
8d22749
100644
(file)
--- a/
tid/tids.c
+++ b/
tid/tids.c
@@
-73,6
+73,12
@@
static TID_RESP *tids_create_response (TIDS_INSTANCE *tids, TID_REQ *req)
goto cleanup;
}
}
+ if (req->request_id) {
+ if (NULL == (resp->request_id = tr_dup_name(req->request_id))) {
+ tr_crit("tids_create_response: Error allocating fields in response.");
+ goto cleanup;
+ }
+ }
success=1;