diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-21 04:05:38 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-21 04:05:38 +0000 |
commit | ba35b984448810f6ead7579f85b28cf089f64033 (patch) | |
tree | 3b4414b2fdf353b4a419d030795373b17de703a3 /rdate.c | |
parent | d2f567776241013fedf5b690cd74fb6baad78b1c (diff) | |
download | busybox-w32-ba35b984448810f6ead7579f85b28cf089f64033.tar.gz busybox-w32-ba35b984448810f6ead7579f85b28cf089f64033.tar.bz2 busybox-w32-ba35b984448810f6ead7579f85b28cf089f64033.zip |
Fix a potential warning
Diffstat (limited to 'rdate.c')
-rw-r--r-- | rdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ time_t askremotedate(char *host) | |||
63 | sin.sin_port= tserv->s_port; | 63 | sin.sin_port= tserv->s_port; |
64 | sin.sin_family = AF_INET; | 64 | sin.sin_family = AF_INET; |
65 | 65 | ||
66 | if (connect(fd, &sin, sizeof(sin)) < 0) { /* connect to time server */ | 66 | if (connect(fd, (struct sockaddr *)&sin, sizeof(sin)) < 0) { /* connect to time server */ |
67 | errorMsg("%s: %s\n", host, strerror(errno)); | 67 | errorMsg("%s: %s\n", host, strerror(errno)); |
68 | close(fd); | 68 | close(fd); |
69 | return(-1); | 69 | return(-1); |