ifupdown: save some 100+ bytes of code in addstr()
[oweals/busybox.git] / util-linux / rdate.c
index 6ad0554344c5c80e4236ba16f232eb50e0fdcad0..645b0b9291ae12af1be793e431ab02c431b30e52 100644 (file)
@@ -42,7 +42,7 @@ static time_t askremotedate(const char *host)
        alarm(10);
        signal(SIGALRM, socket_timeout);
 
-       fd = xconnect(&s_in);
+       fd = xconnect_tcp_v4(&s_in);
 
        if (safe_read(fd, (void *)&nett, 4) != 4)    /* read time from server */
                bb_error_msg_and_die("%s did not send the complete time", host);