diff options
author | Roland McGrath <roland@gnu.org> | 1993-06-21 02:04:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-06-21 02:04:30 +0000 |
commit | 9d64f21a64d23b3370d696813292b44f999dca9b (patch) | |
tree | 5522235fd2c34d4aa375437a7dd110bbe3cfe1b2 /manual/examples | |
parent | dd183668e228bf3bc45cc415cb934b89897dc85a (diff) |
Break line to fix formatting problems.
Diffstat (limited to 'manual/examples')
-rw-r--r-- | manual/examples/db.c | 3 | ||||
-rw-r--r-- | manual/examples/inetcli.c | 3 | ||||
-rw-r--r-- | manual/examples/inetsrv.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/manual/examples/db.c b/manual/examples/db.c index ca5b477e39..1a1cb0c0d7 100644 --- a/manual/examples/db.c +++ b/manual/examples/db.c @@ -32,7 +32,8 @@ main (void) my_group = getgrgid (my_passwd->pw_gid); if (!my_group) { - printf ("Couldn't find out about group %d.\n", (int) my_passwd->pw_gid); + printf ("Couldn't find out about group %d.\n", + (int) my_passwd->pw_gid); exit (EXIT_FAILURE); } diff --git a/manual/examples/inetcli.c b/manual/examples/inetcli.c index 4b6811cad0..258c6892aa 100644 --- a/manual/examples/inetcli.c +++ b/manual/examples/inetcli.c @@ -29,7 +29,8 @@ int main (void) { extern void init_sockaddr (struct sockaddr_in *name, - const char *hostname, unsigned short int port); + const char *hostname, + unsigned short int port); int sock; struct sockaddr_in servername; diff --git a/manual/examples/inetsrv.c b/manual/examples/inetsrv.c index 0265ea6fed..12619b4067 100644 --- a/manual/examples/inetsrv.c +++ b/manual/examples/inetsrv.c @@ -81,7 +81,8 @@ main (void) perror ("accept"); exit (EXIT_FAILURE); } - fprintf (stderr, "Server: connect from host %s, port %hd.\n", + fprintf (stderr, + "Server: connect from host %s, port %hd.\n", inet_ntoa (clientname.sin_addr), ntohs (clientname.sin_port)); FD_SET (status, &active_fd_set); |