X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fcopy.c;h=4a0ef51edabe0391b1febd327a9688ea4685258f;hb=b067ff5c465a5d243ce5a19e562085a9a1a97215;hp=577e811ef2003ab65e094974a643d736783c9e86;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/sbr/copy.c b/sbr/copy.c index 577e811..4a0ef51 100644 --- a/sbr/copy.c +++ b/sbr/copy.c @@ -1,8 +1,9 @@ - /* * copy.c -- copy a string and return pointer to NULL terminator * - * $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 @@ -10,9 +11,9 @@ char * copy(char *from, char *to) { - while ((*to = *from)) { - to++; - from++; - } - return (to); + while ((*to = *from)) { + to++; + from++; + } + return (to); }