X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fstrerror.c;h=af8d58f74bea5aa1d4e379ce045dcecccb90a509;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hp=ce78ada8c13a873f42b9baa40a55947d8361863f;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/strerror.c b/sbr/strerror.c index ce78ada..af8d58f 100644 --- a/sbr/strerror.c +++ b/sbr/strerror.c @@ -1,12 +1,5 @@ - /* * strerror.c -- get error message string - * - * $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. */ #include @@ -18,8 +11,8 @@ extern char *sys_errlist[]; char * strerror (int errnum) { - if (errnum > 0 && errnum < sys_nerr) - return sys_errlist[errnum]; - else - return NULL; + if (errnum > 0 && errnum < sys_nerr) + return sys_errlist[errnum]; + else + return NULL; }