In certain configurations, unused variables and labels were causing
warnings.
Add a missing "#include <netinet/in.h>" to pop_lib.c.
int imap_read_headers (IMAP_DATA* idata, int msgbegin, int msgend)
{
CONTEXT* ctx;
- char buf[LONG_STRING];
char *hdrreq = NULL;
FILE *fp;
char tempfile[_POSIX_PATH_MAX];
int retval = -1;
#if USE_HCACHE
+ char buf[LONG_STRING];
unsigned int *uid_validity = NULL;
unsigned int *puidnext = NULL;
unsigned int uidnext = 0;
if (menu == MENU_EDITOR && tmp.ch == -2)
continue;
+#ifdef USE_IMAP
gotkey:
+#endif
LastKey = tmp.ch;
if (LastKey < 0)
return -1;
#include <ctype.h>
#include <netdb.h>
#include <errno.h>
+#include <netinet/in.h>
/* given an POP mailbox name, return host, port, username and password */
int pop_parse_path (const char* path, ACCOUNT* acct)