Fix argument mistatch in call to inet_ntoa() (it causes problems on the
authorCraig Leres <leres@ucbvax.Berkeley.EDU>
Wed, 4 Sep 1991 09:38:12 +0000 (01:38 -0800)
committerCraig Leres <leres@ucbvax.Berkeley.EDU>
Wed, 4 Sep 1991 09:38:12 +0000 (01:38 -0800)
sparc).

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 5.38

usr/src/usr.sbin/sendmail/src/daemon.c

index 91c1534..6cd4709 100644 (file)
@@ -12,9 +12,9 @@
 
 #ifndef lint
 #ifdef DAEMON
 
 #ifndef lint
 #ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c   5.37 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c   5.38 (Berkeley) %G% (with daemon mode)";
 #else
 #else
-static char sccsid[] = "@(#)daemon.c   5.37 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c   5.38 (Berkeley) %G% (without daemon mode)";
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
@@ -268,7 +268,7 @@ makeconnection(host, port, outfile, infile)
 again:
        if (tTd(16, 1))
                printf("makeconnection (%s [%s])\n", host,
 again:
        if (tTd(16, 1))
                printf("makeconnection (%s [%s])\n", host,
-                   inet_ntoa(SendmailAddress.sin_addr.s_addr));
+                   inet_ntoa(SendmailAddress.sin_addr));
 
 #ifdef NVMUNIX
        s = socket(AF_INET, SOCK_STREAM, 0, 0);
 
 #ifdef NVMUNIX
        s = socket(AF_INET, SOCK_STREAM, 0, 0);