mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
tweak var types in xml config, change makefile to install all the new broken out xml files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4027 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -886,11 +886,11 @@ static int preprocess(const char *file, int new_fd, int rlevel)
|
||||
}
|
||||
|
||||
if ((cmd = strstr(bp, "<!--#"))) {
|
||||
write(new_fd, bp, cmd - bp);
|
||||
write(new_fd, bp, (unsigned)(cmd - bp));
|
||||
if ((e = strstr(cmd, "-->"))) {
|
||||
*e = '\0';
|
||||
e += 3;
|
||||
write(new_fd, e, strlen(e));
|
||||
write(new_fd, e, (unsigned)strlen(e));
|
||||
} else {
|
||||
ml++;
|
||||
}
|
||||
@@ -947,7 +947,7 @@ static int preprocess(const char *file, int new_fd, int rlevel)
|
||||
continue;
|
||||
}
|
||||
|
||||
write(new_fd, bp, cur);
|
||||
write(new_fd, bp, (unsigned)cur);
|
||||
}
|
||||
|
||||
close(old_fd);
|
||||
|
Reference in New Issue
Block a user