strlen() doesn't not include the '\0', so add +1 when calling malloc()
commit901d8cec521d8492346d41eadb617a4d46fab97b
authorStathis Kamperis <ekamperi@auth.gr>
Fri, 3 Aug 2007 18:14:58 +0000 (3 21:14 +0300)
committerStathis Kamperis <ekamperi@auth.gr>
Fri, 3 Aug 2007 18:14:58 +0000 (3 21:14 +0300)
tree141b4e14bcee6cd5ebcab8aff5e78223068e0924
parent05fa0ea1749a489654246a88b00755520b2ba7ff
strlen() doesn't not include the '\0', so add +1 when calling malloc()
fileops/listdir_recursive.c