whitespace sync

This commit is contained in:
Kevin Steves 2002-03-05 18:59:45 +00:00
parent 664b243ae4
commit 399ec97bc2
4 changed files with 3 additions and 7 deletions

View File

@ -23,7 +23,7 @@ void buffer_put_bignum2(Buffer *, BIGNUM *);
void buffer_get_bignum(Buffer *, BIGNUM *); void buffer_get_bignum(Buffer *, BIGNUM *);
void buffer_get_bignum2(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); void buffer_put_int(Buffer *, u_int);
#ifdef HAVE_U_INT64_T #ifdef HAVE_U_INT64_T
@ -32,11 +32,9 @@ void buffer_put_int64(Buffer *, u_int64_t);
#endif #endif
int buffer_get_char(Buffer *); int buffer_get_char(Buffer *);
void buffer_put_char(Buffer *, int); void buffer_put_char(Buffer *, int);
void *buffer_get_string(Buffer *, u_int *); void *buffer_get_string(Buffer *, u_int *);
void buffer_put_string(Buffer *, const void *, u_int); void buffer_put_string(Buffer *, const void *, u_int);
void buffer_put_cstring(Buffer *, const char *); void buffer_put_cstring(Buffer *, const char *);

3
scp.c
View File

@ -548,14 +548,13 @@ syserr: run_err("%s: %s", name, strerror(errno));
#ifdef HAVE_LONG_LONG_INT #ifdef HAVE_LONG_LONG_INT
snprintf(buf, sizeof buf, "C%04o %lld %s\n", snprintf(buf, sizeof buf, "C%04o %lld %s\n",
(u_int) (stb.st_mode & FILEMODEMASK), (u_int) (stb.st_mode & FILEMODEMASK),
(long long) stb.st_size, last); (long long)stb.st_size, last);
#else #else
/* XXX: Handle integer overflow? */ /* XXX: Handle integer overflow? */
snprintf(buf, sizeof buf, "C%04o %lu %s\n", snprintf(buf, sizeof buf, "C%04o %lu %s\n",
(u_int) (stb.st_mode & FILEMODEMASK), (u_int) (stb.st_mode & FILEMODEMASK),
(u_long) stb.st_size, last); (u_long) stb.st_size, last);
#endif #endif
if (verbose_mode) { if (verbose_mode) {
fprintf(stderr, "Sending file modes: %s", buf); fprintf(stderr, "Sending file modes: %s", buf);
fflush(stderr); fflush(stderr);

View File

@ -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" #include "openbsd-compat/fake-queue.h"
#endif #endif
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/md5.h> #include <openssl/md5.h>

View File

@ -544,7 +544,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key,
switch (hostaddr->sa_family) { switch (hostaddr->sa_family) {
case AF_INET: case AF_INET:
local = (ntohl(((struct sockaddr_in *)hostaddr)-> 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); salen = sizeof(struct sockaddr_in);
break; break;
case AF_INET6: case AF_INET6: