]> git.mdlowis.com Git - archive/afm.git/commitdiff
Added missing return statement
authorMichael D. Lowis <mike@mdlowis.com>
Sun, 27 Jul 2014 00:39:48 +0000 (20:39 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Sun, 27 Jul 2014 00:39:48 +0000 (20:39 -0400)
source/workdir.c

index 3f295c2f860d751715b671990c8c6e47a724cb2f..625acb67be3da296b73c2578fe772cf73eac7bba 100644 (file)
@@ -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){