X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpick.c;h=fb34285627e761ab6c2a56ae12f5bb52704b7fd6;hb=7736b0a60c15cc20db0ba8c3e0fe8e11d1c78c20;hp=d2f72efb768874137525e17cbd170bfabeb71bb9;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/pick.c b/uip/pick.c index d2f72ef..fb34285 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -303,14 +303,15 @@ main (int argc, char **argv) seq_save (mp); /* synchronize message sequences */ context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - done (0); + return done (0); } -void +int done (int status) { if (listsw && status && !isatty (fileno (stdout))) printf ("0\n"); exit (status); + return 1; /* dead code to satisfy the compiler */ }