FS-3316 --resolve you should attach git diffs

This commit is contained in:
Anthony Minessale 2011-05-26 11:30:53 -05:00
parent 4cd07bc241
commit 89666f44b3
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,7 @@
*
*/
#include <switch.h>
#include <sys/wait.h>
#define MY_BUF_LEN 1024 * 32
#define MY_BLOCK_SIZE MY_BUF_LEN
@ -135,6 +136,8 @@ static switch_status_t shell_stream_file_open(switch_file_handle_t *handle, cons
switch_cond_next();
}
wait(&(context->pid));
goto end;
} else { /* child */
close(context->fds[0]);