All pastes #631060 Raw Edit

Stuff

public text v1 · immutable
#631060 ·published 2007-07-23 17:57 UTC
rendered paste body
  if ((cfd = open(filename, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR)) > -1) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "IF OPEN!\n");
                                write(pipes[0][1],data,strlen(data));
                                write(pipes[0][1],"\n\n",2);
                                while((bytes = read(pipes[1][0],buf,sizeof(buf)))>0) {

switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "WHILE !\n");