fix msvc build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6692 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-12-12 02:10:52 +00:00
1 parent 4110f73cf3
commit ccffaad03c
4 files changed
+12 -8

No files matched your search

@@ -104,8 +104,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
snprintf(path_buf, sizeof(path_buf), "%s%s%s", source->location, SWITCH_PATH_SEPARATOR, fname);
if (switch_stristr(".loc", path_buf)) {
int fd;
ssize_t bytes;
int fd, bytes;
char *p;
if ((fd = open(path_buf, O_RDONLY)) < 0) {