X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stat.c;h=ac18363df2899156d7ed8b452b8d6143fcb2c40d;hp=58e289f7346fae8afe0d6acce9460e5801c7a239;hb=a13a1e0d202a8969374b9a70562556e689597f2d;hpb=e8089cd5efad59a5eec689117acf563a38b8c6c7 diff --git a/stat.c b/stat.c index 58e289f7..ac18363d 100644 --- a/stat.c +++ b/stat.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2010 Andre Noll + * Copyright (C) 2005 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; }