projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify sidebar code
[apps/madmutt.git]
/
imap
/
util.c
diff --git
a/imap/util.c
b/imap/util.c
index
8ddca9e
..
d7837e1
100644
(file)
--- a/
imap/util.c
+++ b/
imap/util.c
@@
-11,31
+11,15
@@
/* general IMAP utility functions */
/* general IMAP utility functions */
-#include "config.h"
-
-#include <lib-lib/mem.h>
-#include <lib-lib/ascii.h>
-#include <lib-lib/url.h>
+#include <lib-lib/lib-lib.h>
+#include <signal.h>
+#include <netdb.h>
#include "mutt.h"
#include "mx.h" /* for M_IMAP */
#include "imap_private.h"
#include <lib-sys/mutt_ssl.h>
#include "mutt.h"
#include "mx.h" /* for M_IMAP */
#include "imap_private.h"
#include <lib-sys/mutt_ssl.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/debug.h>
-
-#include <stdlib.h>
-#include <ctype.h>
-
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <signal.h>
-#include <netdb.h>
-#include <netinet/in.h>
-
-#include <errno.h>
-
/* -- public functions -- */
/* imap_expand_path: IMAP implementation of mutt_expand_path. Rewrite
/* -- public functions -- */
/* imap_expand_path: IMAP implementation of mutt_expand_path. Rewrite
@@
-80,7
+64,6
@@
int imap_parse_path (const char *path, IMAP_MBOX * mx)
ImapPort = ntohs (service->s_port);
else
ImapPort = IMAP_PORT;
ImapPort = ntohs (service->s_port);
else
ImapPort = IMAP_PORT;
- debug_print (3, ("Using default IMAP port %d\n", ImapPort));
}
if (!ImapsPort) {
service = getservbyname ("imaps", "tcp");
}
if (!ImapsPort) {
service = getservbyname ("imaps", "tcp");
@@
-88,7
+71,6
@@
int imap_parse_path (const char *path, IMAP_MBOX * mx)
ImapsPort = ntohs (service->s_port);
else
ImapsPort = IMAP_SSL_PORT;
ImapsPort = ntohs (service->s_port);
else
ImapsPort = IMAP_SSL_PORT;
- debug_print (3, ("Using default IMAPS port %d\n", ImapsPort));
}
/* Defaults */
}
/* Defaults */