Skip to content
Snippets Groups Projects
Commit 66371e18 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

minor optimization

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 25d90516
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,8 @@ static void send_child_event(FILE *handle, const char event, const char *data, ...@@ -85,7 +85,8 @@ static void send_child_event(FILE *handle, const char event, const char *data,
snprintf(tmp, sizeof(tmp), "%c,%10ld,%s", event, time(NULL), data); snprintf(tmp, sizeof(tmp), "%c,%10ld,%s", event, time(NULL), data);
} }
fprintf(handle, "%s\n", tmp); fputs(tmp, handle);
fputc('\n', handle);
ast_chan_log(LOG_DEBUG, chan, "sent '%s'\n", tmp); ast_chan_log(LOG_DEBUG, chan, "sent '%s'\n", tmp);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment