bug fixes

This commit is contained in:
NIIBE Yutaka
2011-01-21 21:36:16 +09:00
parent 6656434701
commit 6e9998b052
2 changed files with 3 additions and 1 deletions

View File

@@ -1164,7 +1164,7 @@ copy_do (const struct do_table_entry *do_p, int with_tag)
return -1;
}
*len_p = (res_p - len_p);
*len_p = (res_p - len_p) - 1;
break;
}
case DO_PROC_READ: