diff options
Diffstat (limited to 'rdate.c')
-rw-r--r-- | rdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ time_t askremotedate(char *host) | |||
68 | close(fd); | 68 | close(fd); |
69 | return(-1); | 69 | return(-1); |
70 | } | 70 | } |
71 | if (read(fd, &nett, 4) != 4) { /* read time from server */ | 71 | if (read(fd, (void *)&nett, 4) != 4) { /* read time from server */ |
72 | close(fd); | 72 | close(fd); |
73 | errorMsg("%s did not send the complete time\n", host); | 73 | errorMsg("%s did not send the complete time\n", host); |
74 | } | 74 | } |