X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stat.c;h=652a749d532136d2350c7cae3bf86eedc480fe89;hp=336909174982ae29b3fff7f187026f615a2756ce;hb=7aae225afbdd1b0b33883ee6d34383d174a0f4ed;hpb=9609fd30e0d3db45ede3ab5c6bc3a77c15b6aef8 diff --git a/stat.c b/stat.c index 33690917..652a749d 100644 --- a/stat.c +++ b/stat.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2009 Andre Noll + * Copyright (C) 2005-2014 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; }