projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moody patch fixing compilation warnings
[apps/madmutt.git]
/
mutt_sasl.c
diff --git
a/mutt_sasl.c
b/mutt_sasl.c
index
bb91271
..
d904164
100644
(file)
--- a/
mutt_sasl.c
+++ b/
mutt_sasl.c
@@
-25,7
+25,7
@@
#include "mutt.h"
#include "account.h"
#include "mutt_sasl.h"
#include "mutt.h"
#include "account.h"
#include "mutt_sasl.h"
-#include <lib-
network
/mutt_socket.h>
+#include <lib-
sys
/mutt_socket.h>
static int getnameinfo_err (int ret)
{
static int getnameinfo_err (int ret)
{
@@
-91,9
+91,9
@@
static int mutt_sasl_cb_pass (sasl_conn_t * conn, void *context, int id,
/* socket wrappers for a SASL security layer */
static int mutt_sasl_conn_open (CONNECTION * conn);
static int mutt_sasl_conn_close (CONNECTION * conn);
/* socket wrappers for a SASL security layer */
static int mutt_sasl_conn_open (CONNECTION * conn);
static int mutt_sasl_conn_close (CONNECTION * conn);
-static int mutt_sasl_conn_read (CONNECTION * conn, char *buf, size_t len);
+static int mutt_sasl_conn_read (CONNECTION * conn, char *buf, s
s
ize_t len);
static int mutt_sasl_conn_write (CONNECTION * conn, const char *buf,
static int mutt_sasl_conn_write (CONNECTION * conn, const char *buf,
- size_t count);
+ s
s
ize_t count);
/* utility function, stolen from sasl2 sample code */
static int iptostring (const struct sockaddr *addr, socklen_t addrlen,
/* utility function, stolen from sasl2 sample code */
static int iptostring (const struct sockaddr *addr, socklen_t addrlen,
@@
-500,7
+500,7
@@
static int mutt_sasl_conn_close (CONNECTION * conn)
return rc;
}
return rc;
}
-static int mutt_sasl_conn_read (CONNECTION * conn, char *buf, size_t len)
+static int mutt_sasl_conn_read (CONNECTION * conn, char *buf, s
s
ize_t len)
{
SASL_DATA *sasldata;
int rc;
{
SASL_DATA *sasldata;
int rc;
@@
-562,7
+562,7
@@
out:
}
static int mutt_sasl_conn_write (CONNECTION * conn, const char *buf,
}
static int mutt_sasl_conn_write (CONNECTION * conn, const char *buf,
- size_t len)
+ s
s
ize_t len)
{
SASL_DATA *sasldata;
int rc;
{
SASL_DATA *sasldata;
int rc;