X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpick.c;h=fb34285627e761ab6c2a56ae12f5bb52704b7fd6;hp=d2f72efb768874137525e17cbd170bfabeb71bb9;hb=3c9700d8d045f3ff26ce5dd2a174454dafc14822;hpb=8f8d299c72fdf8105947681d459dde45eda94e9d 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 */ }