X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Fremdir.c;h=397a6893c2a55ff345be6e6df3a81142b426fdb4;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hp=627ff3f2a7638c40c0334698fd95d15e62d94c02;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/remdir.c b/sbr/remdir.c index 627ff3f..397a689 100644 --- a/sbr/remdir.c +++ b/sbr/remdir.c @@ -1,9 +1,6 @@ - /* * remdir.c -- remove a directory * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -15,12 +12,12 @@ int remdir (char *dir) { - context_save(); /* save the context file */ - fflush(stdout); + context_save(); /* save the context file */ + fflush(stdout); - if (rmdir(dir) == -1) { - admonish (dir, "unable to remove directory"); - return 0; - } - return 1; + if (rmdir(dir) == -1) { + admonish (dir, "unable to remove directory"); + return 0; + } + return 1; }