X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stat.c;h=43e7998ad3fababb6ed74e18b40ad34f99b38244;hp=58e289f7346fae8afe0d6acce9460e5801c7a239;hb=3685a9093ae12ff9ce02fc58e607eb9b63894443;hpb=6668ac4a8c7f2a92efb9e6d405d954beff77d230 diff --git a/stat.c b/stat.c index 58e289f7..43e7998a 100644 --- a/stat.c +++ b/stat.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** * \file stat.c Functions used for sending/receiving the status of para_server @@ -77,7 +73,5 @@ int for_each_stat_item(char *item_buf, size_t num_bytes, assert(len >= 0 && buf <= item_buf + num_bytes); } assert(len >= 0); - if (len && len != num_bytes) - memmove(item_buf, item_buf + num_bytes - len, len); return len; }