Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch

This commit is contained in:
David Yat Sin 2012-09-18 23:12:42 -04:00
commit 79c7af6dd5
1 changed files with 1 additions and 1 deletions

View File

@ -1446,7 +1446,7 @@ static int preprocess(const char *cwd, const char *file, FILE *write_fd, int rle
}
if ((cmd = strstr(bp, "<!--#"))) {
if (fwrite(bp, 1, (unsigned) (cmd - bp), write_fd) != (cmd - bp)) {
if (fwrite(bp, 1, (unsigned) (cmd - bp), write_fd) != (unsigned) (cmd - bp)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n");
}
if ((e = strstr(cmd, "-->"))) {