projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
imap
/
auth_cram.c
diff --git
a/imap/auth_cram.c
b/imap/auth_cram.c
index
3003f7a
..
b440dd2
100644
(file)
--- a/
imap/auth_cram.c
+++ b/
imap/auth_cram.c
@@
-18,6
+18,10
@@
/* IMAP login/authentication code */
/* IMAP login/authentication code */
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "imap_private.h"
#include "auth.h"
#include "mutt.h"
#include "imap_private.h"
#include "auth.h"
@@
-104,7
+108,7
@@
imap_auth_res_t imap_auth_cram_md5 (IMAP_DATA* idata, const char* method)
mutt_to_base64 ((unsigned char*) ibuf, (unsigned char*) obuf, strlen (obuf),
sizeof (ibuf) - 2);
mutt_to_base64 ((unsigned char*) ibuf, (unsigned char*) obuf, strlen (obuf),
sizeof (ibuf) - 2);
- s
trncat (ibuf, "\r\n", sizeof (ibuf)
);
+ s
afe_strcat (ibuf, sizeof (ibuf), "\r\n"
);
mutt_socket_write (idata->conn, ibuf);
do
mutt_socket_write (idata->conn, ibuf);
do