whitespace sync
This commit is contained in:
parent
664b243ae4
commit
399ec97bc2
4
bufaux.h
4
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 *);
|
||||
|
||||
|
|
3
scp.c
3
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);
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue