summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-03-05 18:59:45 +0000
committerKevin Steves <stevesk@pobox.com>2002-03-05 18:59:45 +0000
commit399ec97bc2861148dd38708bf7747d59918fb8b2 (patch)
tree03522732c582ac4c0c350693f1eaf20e11c5d813
parent664b243ae44c1cb9c9da182e32f8e7254a932cb8 (diff)
whitespace sync
-rw-r--r--bufaux.h4
-rw-r--r--scp.c3
-rw-r--r--ssh-agent.c1
-rw-r--r--sshconnect.c2
4 files changed, 3 insertions, 7 deletions
diff --git a/bufaux.h b/bufaux.h
index 75b5a5a2..40001349 100644
--- a/bufaux.h
+++ b/bufaux.h
@@ -23,7 +23,7 @@ void buffer_put_bignum2(Buffer *, BIGNUM *);
void buffer_get_bignum(Buffer *, BIGNUM *);
void buffer_get_bignum2(Buffer *, BIGNUM *);
-u_int buffer_get_int(Buffer *);
+u_int buffer_get_int(Buffer *);
void buffer_put_int(Buffer *, u_int);
#ifdef HAVE_U_INT64_T
@@ -32,11 +32,9 @@ void buffer_put_int64(Buffer *, u_int64_t);
#endif
int buffer_get_char(Buffer *);
-
void buffer_put_char(Buffer *, int);
void *buffer_get_string(Buffer *, u_int *);
-
void buffer_put_string(Buffer *, const void *, u_int);
void buffer_put_cstring(Buffer *, const char *);
diff --git a/scp.c b/scp.c
index d285f9f5..83e7769d 100644
--- a/scp.c
+++ b/scp.c
@@ -548,14 +548,13 @@ syserr: run_err("%s: %s", name, strerror(errno));
#ifdef HAVE_LONG_LONG_INT
snprintf(buf, sizeof buf, "C%04o %lld %s\n",
(u_int) (stb.st_mode & FILEMODEMASK),
- (long long) stb.st_size, last);
+ (long long)stb.st_size, last);
#else
/* XXX: Handle integer overflow? */
snprintf(buf, sizeof buf, "C%04o %lu %s\n",
(u_int) (stb.st_mode & FILEMODEMASK),
(u_long) stb.st_size, last);
#endif
-
if (verbose_mode) {
fprintf(stderr, "Sending file modes: %s", buf);
fflush(stderr);
diff --git a/ssh-agent.c b/ssh-agent.c
index 91d5d945..555396fc 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -42,7 +42,6 @@ RCSID("$OpenBSD: ssh-agent.c,v 1.82 2002/03/04 17:27:39 stevesk Exp $");
#include "openbsd-compat/fake-queue.h"
#endif
-
#include <openssl/evp.h>
#include <openssl/md5.h>
diff --git a/sshconnect.c b/sshconnect.c
index 511fe8f3..5bb50e0e 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -544,7 +544,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key,
switch (hostaddr->sa_family) {
case AF_INET:
local = (ntohl(((struct sockaddr_in *)hostaddr)->
- sin_addr.s_addr) >> 24) == IN_LOOPBACKNET;
+ sin_addr.s_addr) >> 24) == IN_LOOPBACKNET;
salen = sizeof(struct sockaddr_in);
break;
case AF_INET6: