[monitor_wrap.c]
     use ssize_t
This commit is contained in:
Ben Lindstrom 2002-07-04 00:09:26 +00:00
parent a79616278e
commit b1bdc5a6ad
2 changed files with 7 additions and 4 deletions

View File

@ -21,6 +21,9 @@
the difference between two pointers is not an int. Just do the
safest thing and store the result in a long and then return 0,
-1, or 1 based on that result.
- deraadt@cvs.openbsd.org 2002/06/28 01:50:37
[monitor_wrap.c]
use ssize_t
20020702
- (djm) Use PAM_MSG_MEMBER for PAM_TEXT_INFO messages, use xmalloc &
@ -1229,4 +1232,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2320 2002/07/04 00:08:23 mouring Exp $
$Id: ChangeLog,v 1.2321 2002/07/04 00:09:26 mouring Exp $

View File

@ -25,7 +25,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: monitor_wrap.c,v 1.12 2002/06/26 15:00:32 deraadt Exp $");
RCSID("$OpenBSD: monitor_wrap.c,v 1.13 2002/06/28 01:50:37 deraadt Exp $");
#include <openssl/bn.h>
#include <openssl/dh.h>
@ -62,8 +62,8 @@ extern Buffer input, output;
void
mm_request_send(int socket, enum monitor_reqtype type, Buffer *m)
{
u_char buf[5];
u_int mlen = buffer_len(m);
u_char buf[5];
debug3("%s entering: type %d", __func__, type);
@ -79,8 +79,8 @@ void
mm_request_receive(int socket, Buffer *m)
{
u_char buf[4];
ssize_t res;
u_int msg_len;
ssize_t res;
debug3("%s entering", __func__);