X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fcopyip.c;h=5ae52bdf53028e31dc69c217a7402a1e6842b000;hb=337338b404931f06f0db2119c9e145e8ca5a9860;hp=8d7b6f54d11b4fd8e3a0c21463befbe956459b13;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/sbr/copyip.c b/sbr/copyip.c index 8d7b6f5..5ae52bd 100644 --- a/sbr/copyip.c +++ b/sbr/copyip.c @@ -1,8 +1,9 @@ - /* * 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. */ #include @@ -11,10 +12,9 @@ char ** 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; }