]> diplodocus.org Git - nmh/blobdiff - uip/mhlogin.c
seq_del.c: Move interface to own file.
[nmh] / uip / mhlogin.c
index 64885d12324e38822905498668b54022d57f1931..84b6205c0b39d7f542729e85a996ce21d276a030 100644 (file)
@@ -9,10 +9,11 @@
 #include <stdio.h>
 #include <string.h>
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/error.h"
 #include "h/done.h"
-#include <h/utils.h>
-#include <h/oauth.h>
+#include "h/utils.h"
+#include "h/oauth.h"
 #include "sbr/lock_file.h"
 
 #define MHLOGIN_SWITCHES \
@@ -143,7 +144,7 @@ main(int argc, char **argv)
     const char *user = NULL, *saslmech = NULL, *svc = NULL, *browser = NULL;
     int snoop = 0;
 
-    if (nmh_init(argv[0], 1)) { return 1; }
+    if (nmh_init(argv[0], true, true)) { return 1; }
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;