summaryrefslogtreecommitdiff
path: root/lib/ZhmStat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZhmStat.c')
-rw-r--r--lib/ZhmStat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/ZhmStat.c b/lib/ZhmStat.c
index 84e6a82..08d5193 100644
--- a/lib/ZhmStat.c
+++ b/lib/ZhmStat.c
@@ -65,9 +65,5 @@ Code_t ZhmStat(hostaddr, notice)
if (code == 0 || (code < 0 && errno == EINTR) || ZPending() == 0)
return(ZERR_HMDEAD);
- code = ZReceiveNotice(notice, (struct sockaddr_in *) 0);
- if (code != EINTR)
- return(code);
-
- return(ZERR_NONE);
+ return(ZReceiveNotice(notice, (struct sockaddr_in *) 0));
}