diff options
author | Richard Basch <probe@mit.edu> | 1993-04-20 12:04:05 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-04-20 12:04:05 +0000 |
commit | 79229657d73ba7ad5b84c80399cf8c0660dee4b8 (patch) | |
tree | 2a8d0e04a6ca30dbc8a6296b6818b1ceb76a6ec4 /server/uloc.c | |
parent | f1b81a8449430e896ce74b1309a14e9b655f79f4 (diff) |
Bad prototype for ulogin_add_user (changed for error propogation)
ulocate_dispatch did not return after nak'ing a packet in one case.
Diffstat (limited to 'server/uloc.c')
-rw-r--r-- | server/uloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/uloc.c b/server/uloc.c index e7bb366..48c3ef5 100644 --- a/server/uloc.c +++ b/server/uloc.c @@ -97,12 +97,12 @@ typedef struct _ZLocation_t { static void ulogin_locate P((ZNotice_t *notice, struct sockaddr_in *who, int auth)), - ulogin_add_user P((ZNotice_t *notice, exposure_type exposure, - struct sockaddr_in *who)), ulogin_flush_user P((ZNotice_t *notice)); static ZLocation_t *ulogin_find P((ZNotice_t *notice, int strict)); static int ulogin_setup P((ZNotice_t *notice, ZLocation_t *locs, exposure_type exposure, struct sockaddr_in *who)), + ulogin_add_user P((ZNotice_t *notice, exposure_type exposure, + struct sockaddr_in *who)), ulogin_parse P((ZNotice_t *notice, ZLocation_t *locs)), ulogin_expose_user P((ZNotice_t *notice, exposure_type exposure)); static exposure_type ulogin_remove_user P((ZNotice_t *notice, int auth, @@ -419,6 +419,7 @@ ulocate_dispatch(notice, auth, who, server) syslog(LOG_ERR, "unknown uloc opcode %s", notice->z_opcode); if (server == me_server) nack(notice, who); + return(ZERR_NONE); } if (server == me_server) { server_forward(notice, auth, who); |