summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorGravatar Garry Zacheiss <zacheiss@mit.edu>2001-02-26 23:43:59 +0000
committerGravatar Garry Zacheiss <zacheiss@mit.edu>2001-02-26 23:43:59 +0000
commit7e6da2ecd400ee3e9205c8b189946e4cb453f808 (patch)
tree1b86a8c442faccf004e60e7572b2eb761dfd9bc3 /server
parent9f3e3045da3cd275948c8bdb2b903df098190059 (diff)
Changes from CMU:
* If class is empty, return useful info so interrealm code can unsubscribe.
Diffstat (limited to 'server')
-rw-r--r--server/class.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/class.c b/server/class.c
index 63a4a2f..6ccacae 100644
--- a/server/class.c
+++ b/server/class.c
@@ -3,7 +3,8 @@
*
* Created by: John T. Kohl
*
- * $Id$
+ * $Source$
+ * $Author$
*
* Copyright (c) 1987 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
@@ -158,6 +159,7 @@ triplet_deregister(client, dest, realm)
if (*triplet->clients == NULL && !triplet->acl) {
LIST_DELETE(triplet);
free_triplet(triplet);
+ return ZSRV_EMPTYCLASS;
}
return ZERR_NONE;
}