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 #61 from painless-security/jennifer/request_id
[trust_router.git]
/
tid
/
tids.c
diff --git
a/tid/tids.c
b/tid/tids.c
index
e780a22
..
74e790e
100644
(file)
--- a/
tid/tids.c
+++ b/
tid/tids.c
@@
-80,6
+80,12
@@
static TID_RESP *tids_create_response(TALLOC_CTX *mem_ctx, 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;