summaryrefslogtreecommitdiffstats
path: root/src/ccapi/server/ccs_client.c
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-01-15 22:13:27 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-01-15 22:13:27 +0000
commit3bbddf92797339694a9881d6f08b5bb0aea5adbe (patch)
tree39ef48552fb90d1dfd15c13e361aff70f1c67f9b /src/ccapi/server/ccs_client.c
parente4655054fc18b9814d05e155554c62e856f34c68 (diff)
downloadkrb5-3bbddf92797339694a9881d6f08b5bb0aea5adbe.tar.gz
krb5-3bbddf92797339694a9881d6f08b5bb0aea5adbe.tar.xz
krb5-3bbddf92797339694a9881d6f08b5bb0aea5adbe.zip
Add ccs_pipe_compare
Added a pipe comparison function. Forgot it when I was adding support for non-integer pipe types (such as used by Windows). ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20200 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/server/ccs_client.c')
-rw-r--r--src/ccapi/server/ccs_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccapi/server/ccs_client.c b/src/ccapi/server/ccs_client.c
index b29616f34..5ec5de33d 100644
--- a/src/ccapi/server/ccs_client.c
+++ b/src/ccapi/server/ccs_client.c
@@ -161,7 +161,7 @@ cc_int32 ccs_client_uses_pipe (ccs_client_t in_client,
if (!out_uses_pipe) { err = cci_check_error (ccErrBadParam); }
if (!err) {
- *out_uses_pipe = (in_client->client_pipe == in_pipe);
+ err = ccs_pipe_compare (in_client->client_pipe, in_pipe, out_uses_pipe);
}
return cci_check_error (err);