From: Michael D. Lowis Date: Sun, 27 Jul 2014 00:39:48 +0000 (-0400) Subject: Added missing return statement X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=1bcdaf70ba6331afdf1de00be1752d46867250ef;p=archive%2Fafm.git Added missing return statement --- diff --git a/source/workdir.c b/source/workdir.c index 3f295c2..625acb6 100644 --- a/source/workdir.c +++ b/source/workdir.c @@ -118,6 +118,7 @@ char* ls_command(char* path){ char* cmd = mem_allocate(sizeof(char) * (4+(strlen(path))), NULL); strcpy(cmd, "ls "); strcat(cmd, path); + return cmd; } void workdir_ls(WorkDir_T* wd){