Browse Source

fixed compiler warnings under Solaris 2.7

0.9
Michael Elkins 24 years ago
parent
commit
216c26cceb
  1. 1
      config.c
  2. 3
      imap.c

1
config.c

@ -24,6 +24,7 @@
#include <pwd.h>
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include "isync.h"
static config_t *box = 0;

3
imap.c

@ -222,6 +222,9 @@ socket_perror (const char *func, Socket_t *sock, int ret)
}
return;
}
#else
(void) sock;
(void) ret;
#endif
perror (func);
}

Loading…
Cancel
Save