X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stat.c;h=d6312392ccbacc5bd21c0f15b635ddc0d10e42c9;hp=336909174982ae29b3fff7f187026f615a2756ce;hb=b55f405f8005821ffa369b929bc0b419da62683d;hpb=f42b5eccb6ec3364dc0500ffeffbe9d9ecab07bd diff --git a/stat.c b/stat.c index 33690917..d6312392 100644 --- a/stat.c +++ b/stat.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2009 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -77,7 +77,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; }