X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fcopyip.c;h=e5ded8298184d8cc7b65258bf0ce32781aa6aafe;hp=8d7b6f54d11b4fd8e3a0c21463befbe956459b13;hb=dfa0332c4e6144699dedd5c9795219adc0f9c0d2;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/sbr/copyip.c b/sbr/copyip.c index 8d7b6f5..e5ded82 100644 --- a/sbr/copyip.c +++ b/sbr/copyip.c @@ -1,20 +1,20 @@ - /* - * copyip.c -- copy a string array and return pointer to end - * - * $Id$ - */ +** 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; }