summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2001-12-30 22:09:01 +0000
committerPavel Janík <Pavel@Janik.cz>2001-12-30 22:09:01 +0000
commit80b2cbf2639beea20ab88681feb0a5972fe3e896 (patch)
tree59ad6df76ad739ca1d32fda210b76989c9621722 /lib-src
parent9d8f0a614a1f6719f182c7ebdb59319487aeb087 (diff)
downloademacs-80b2cbf2639beea20ab88681feb0a5972fe3e896.tar.gz
Remove unnecessary whitespaces.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/hexl.c2
-rw-r--r--lib-src/pop.c30
-rw-r--r--lib-src/profile.c6
-rw-r--r--lib-src/sorted-doc.c8
-rw-r--r--lib-src/test-distrib.c2
5 files changed, 24 insertions, 24 deletions
diff --git a/lib-src/hexl.c b/lib-src/hexl.c
index 9c40b0e3d94..cbab66a2a17 100644
--- a/lib-src/hexl.c
+++ b/lib-src/hexl.c
@@ -73,7 +73,7 @@ main (argc, argv)
** <filename> dump filename
** - (as filename == stdin)
*/
-
+
while (*argv && *argv[0] == '-' && (*argv)[1])
{
/* A switch! */
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 2cf8f9243f4..e27d5821388 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -296,7 +296,7 @@ pop_open (host, username, password, flags)
free ((char *) server);
return (0);
}
-
+
server->file = sock;
server->data = 0;
server->buffer_index = 0;
@@ -367,7 +367,7 @@ pop_stat (server, count, size)
strcpy (pop_error, "In multi-line query in pop_stat");
return (-1);
}
-
+
if (sendline (server, "STAT") || (pop_getline (server, &fromserver) < 0))
return (-1);
@@ -387,7 +387,7 @@ pop_stat (server, count, size)
}
*count = atoi (&fromserver[4]);
-
+
fromserver = index (&fromserver[4], ' ');
if (! fromserver)
{
@@ -896,7 +896,7 @@ pop_last (server)
popserver server;
{
char *fromserver;
-
+
if (server->in_multi)
{
strcpy (pop_error, "In multi-line query in pop_last");
@@ -1009,7 +1009,7 @@ static int have_winsock = 0;
* Arguments:
* host The host to which to connect.
* flags Option flags.
- *
+ *
* Return value: A file descriptor indicating the connection, or -1
* indicating failure, in which case an error has been copied
* into pop_error.
@@ -1112,7 +1112,7 @@ socket_connection (host, flags)
strncat (pop_error, strerror (errno),
ERROR_MAX - sizeof (POP_SOCKET_ERROR));
return (-1);
-
+
}
while (*hostent->h_addr_list)
@@ -1125,7 +1125,7 @@ socket_connection (host, flags)
}
#define CONNECT_ERROR "Could not connect to POP server: "
-
+
if (! *hostent->h_addr_list)
{
CLOSESOCKET (sock);
@@ -1133,7 +1133,7 @@ socket_connection (host, flags)
strncat (pop_error, strerror (errno),
ERROR_MAX - sizeof (CONNECT_ERROR));
return (-1);
-
+
}
#ifdef KERBEROS
@@ -1157,7 +1157,7 @@ socket_connection (host, flags)
if ((rem = krb5_auth_con_init (kcontext, &auth_context)))
goto krb5error;
-
+
if (rem = krb5_cc_default (kcontext, &ccdef))
goto krb5error;
@@ -1215,7 +1215,7 @@ socket_connection (host, flags)
CLOSESOCKET (sock);
return (-1);
}
-#else /* ! KERBEROS5 */
+#else /* ! KERBEROS5 */
ticket = (KTEXT) malloc (sizeof (KTEXT_ST));
realhost = strdup (hostent->h_name);
rem = krb_sendauth (0L, sock, ticket, "pop", realhost,
@@ -1285,7 +1285,7 @@ pop_getline (server, line)
found = server->buffer_index;
data_used = (cp + 2) - server->buffer - found;
-
+
*cp = '\0'; /* terminate the string to be returned */
server->data -= data_used;
server->buffer_index += data_used;
@@ -1354,7 +1354,7 @@ pop_getline (server, line)
char *cp;
server->data += ret;
server->buffer[server->data] = '\0';
-
+
cp = find_crlf (server->buffer + search_offset,
server->data - search_offset);
if (cp)
@@ -1461,7 +1461,7 @@ fullwrite (fd, buf, nbytes)
*
* Arguments:
* server The server to read from.
- *
+ *
* Returns: 0 for success, else for failure and puts error in pop_error.
*
* Side effects: On failure, may make the connection unusable.
@@ -1492,7 +1492,7 @@ getok (server)
pop_trash (server);
return (-1);
}
-}
+}
#if 0
/*
@@ -1538,7 +1538,7 @@ gettermination (server)
* Changes made to the maildrop since the session was started (or
* since the last pop_reset) may be lost.
*/
-void
+void
pop_close (server)
popserver server;
{
diff --git a/lib-src/profile.c b/lib-src/profile.c
index 9c3ebcef539..e2fa4793b63 100644
--- a/lib-src/profile.c
+++ b/lib-src/profile.c
@@ -63,7 +63,7 @@ get_time ()
}
#if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL)
-
+
/* ARGSUSED */
gettimeofday (tp, tzp)
struct timeval *tp;
@@ -71,12 +71,12 @@ gettimeofday (tp, tzp)
{
extern long time ();
- tp->tv_sec = time ((long *)0);
+ tp->tv_sec = time ((long *)0);
tp->tv_usec = 0;
if (tzp != 0)
tzp->tz_minuteswest = -1;
}
-
+
#endif
int
diff --git a/lib-src/sorted-doc.c b/lib-src/sorted-doc.c
index d474924cf18..185295a9294 100644
--- a/lib-src/sorted-doc.c
+++ b/lib-src/sorted-doc.c
@@ -1,6 +1,6 @@
/* Give this program DOC-mm.nn.oo as standard input and it outputs to
standard output a file of texinfo input containing the doc strings.
-
+
Copyright (C) 1989, 1992, 1994, 1996, 1999, 2000, 2001
Free Software Foundation Inc.
@@ -121,7 +121,7 @@ char *states[] =
{
"WAITING", "BEG_NAME", "NAME_GET", "BEG_DESC", "DESC_GET"
};
-
+
int
main ()
{
@@ -133,7 +133,7 @@ main ()
DOCSTR *docs; /* chain of allocated DOCSTRS */
char buf[512]; /* line buffer */
-
+
while (1) /* process one char at a time */
{
/* this char from the DOCSTR file */
@@ -181,7 +181,7 @@ main ()
bp = buf;
state = DESC_GET;
}
-
+
/* process gets */
if (state == NAME_GET || state == DESC_GET)
diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c
index 7e148f48bb5..973d1104393 100644
--- a/lib-src/test-distrib.c
+++ b/lib-src/test-distrib.c
@@ -50,7 +50,7 @@ This file is read by the `test-distribution' program.\n\
If you change it, you will make that program fail.\n";
char buf[300];
-
+
/* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */
int
cool_read (fd, buf, size)