diff options
author | Kenneth G Raeburn <raeburn@mit.edu> | 1990-12-19 22:10:34 +0000 |
---|---|---|
committer | Kenneth G Raeburn <raeburn@mit.edu> | 1990-12-19 22:10:34 +0000 |
commit | b6cfed38c496ba996419091a77258e6c6ffb54ff (patch) | |
tree | 211b2da97cb397ab22643e84beb10644536f2a75 | |
parent | ed8e007c6c1c0bb893eb931726ddeb6ed12067c0 (diff) |
Now uses SRV_TIMEOUT instead of HM_TIMEOUT.
[jfc]
-rw-r--r-- | lib/ZNewLocU.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/ZNewLocU.c b/lib/ZNewLocU.c index 881619f..a0f35c7 100644 --- a/lib/ZNewLocU.c +++ b/lib/ZNewLocU.c @@ -70,16 +70,14 @@ Code_t ZNewLocateUser(user, nlocs, auth) while (!nrecv || !ack) { tv.tv_sec = 0; tv.tv_usec = 500000; - for (i=0;i<HM_TIMEOUT*2;i++) { /* 30 secs in 1/2 sec - intervals */ + for (i=0;i<SRV_TIMEOUT*2;i++) { gotone = 0; read = setup; if (select(nfds, &read, (fd_set *) 0, (fd_set *) 0, &tv) < 0) return (errno); if (FD_ISSET(ZGetFD(), &read)) - i--; /* make sure we time out the - full 30 secs */ + i--; retval = ZCheckIfNotice(&retnotice, (struct sockaddr_in *)0, ZCompareMultiUIDPred, |