X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fcopyip.c;h=5ae52bdf53028e31dc69c217a7402a1e6842b000;hb=b067ff5c465a5d243ce5a19e562085a9a1a97215;hp=93ff5e84f2c4f3f40b7cc2e438df86b7c95fc69e;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/copyip.c b/sbr/copyip.c index 93ff5e8..5ae52bd 100644 --- a/sbr/copyip.c +++ b/sbr/copyip.c @@ -1,9 +1,6 @@ - /* * 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. @@ -15,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; }