From: Margaret Wasserman Date: Sun, 14 Apr 2013 13:35:57 +0000 (-0400) Subject: Put the connextion and gss context in the request for later use. X-Git-Tag: 1.0~41 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=524eece7c3838d6b23dcfa8b69ecc718054ae518 Put the connextion and gss context in the request for later use. --- diff --git a/tid/tids.c b/tid/tids.c index 202c62a..d3447cb 100644 --- a/tid/tids.c +++ b/tid/tids.c @@ -208,6 +208,10 @@ static void tids_handle_connection (TIDS_INSTANCE *tids, int conn) continue; } + /* Put connection information into the request structure */ + mreq->tid_req->conn = conn; + mreq->tid_req->gssctx = gssctx; + /* Allocate a response structure and populate common fields */ if ((NULL == (resp = calloc(sizeof(TID_RESP), 1)))) { fprintf(stderr, "Error allocating response structure.\n");