X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsendsbr.c;h=877538bfb70d2cafd83c2c2630b4334b4db19804;hp=cb6bb3f784b1b24512a89537f8daa43df060e909;hb=38615191e71744b066425e0c44412b62dbe49cc2;hpb=045101c0a79f43fe566422622f154d5cc0141d8a diff --git a/uip/sendsbr.c b/uip/sendsbr.c index cb6bb3f..877538b 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -60,7 +60,7 @@ char *getusername (void); /* * static prototypes */ -static int armed_done (int); +static void armed_done (int); static void alert (char *, int); static int tmp_fd (void); static void anno (int, struct stat *); @@ -153,7 +153,7 @@ sendsbr (char **vec, int vecp, char *drft, struct stat *st, int rename_drft, cha break; } - done=default_done; + done=exit; if (distfile) unlink (distfile); @@ -1074,11 +1074,10 @@ oops: } -static int +static void armed_done (int status) { longjmp (env, status ? status : NOTOK); exit (status); - return 1; /* dead code to satisfy the compiler */ }