X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fcopyip.c;h=e5ded8298184d8cc7b65258bf0ce32781aa6aafe;hb=67411b1f95d6ec987b4c732459e1ba8a8ac192c6;hp=93ff5e84f2c4f3f40b7cc2e438df86b7c95fc69e;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/copyip.c b/sbr/copyip.c index 93ff5e8..e5ded82 100644 --- a/sbr/copyip.c +++ b/sbr/copyip.c @@ -1,24 +1,20 @@ - /* - * copyip.c -- copy a string array and return pointer to end - * - * $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. - */ +** copyip.c -- copy a string array and return pointer to end +** +** 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 char ** -copyip (char **p, char **q, int len_q) +copyip(char **p, char **q, int len_q) { - while (*p && --len_q > 0) - *q++ = *p++; - - *q = NULL; + while (*p && --len_q > 0) + *q++ = *p++; + *q = NULL; - return q; + return q; }