make local_stream more solid

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8706 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-05-28 15:14:18 +00:00
parent 9c8d9e1cde
commit 4eae981ff2
3 changed files with 33 additions and 4 deletions
+1
View File
@@ -133,6 +133,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh,
}
if ((status = fh->file_interface->file_read(fh, data, len)) != SWITCH_STATUS_SUCCESS) {
*len = 0;
goto done;
}