winlin

refine the config

@@ -1257,7 +1257,6 @@ int SrsConfig::check_config() @@ -1257,7 +1257,6 @@ int SrsConfig::check_config()
1257 } 1257 }
1258 } 1258 }
1259 } 1259 }
1260 - if (true) {  
1261 for (int i = 0; i < (int)vhosts.size(); i++) { 1260 for (int i = 0; i < (int)vhosts.size(); i++) {
1262 SrsConfDirective* conf = vhosts[i]; 1261 SrsConfDirective* conf = vhosts[i];
1263 for (int i = 0; conf && i < (int)conf->directives.size(); i++) { 1262 for (int i = 0; conf && i < (int)conf->directives.size(); i++) {
@@ -1375,7 +1374,6 @@ int SrsConfig::check_config() @@ -1375,7 +1374,6 @@ int SrsConfig::check_config()
1375 } 1374 }
1376 } 1375 }
1377 } 1376 }
1378 - }  
1379 1377
1380 //////////////////////////////////////////////////////////////////////// 1378 ////////////////////////////////////////////////////////////////////////
1381 // check listen for rtmp. 1379 // check listen for rtmp.
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 // current release version 31 // current release version
32 #define VERSION_MAJOR "0" 32 #define VERSION_MAJOR "0"
33 #define VERSION_MINOR "9" 33 #define VERSION_MINOR "9"
34 -#define VERSION_REVISION "169" 34 +#define VERSION_REVISION "170"
35 #define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION 35 #define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
36 // server info. 36 // server info.
37 #define RTMP_SIG_SRS_KEY "SRS" 37 #define RTMP_SIG_SRS_KEY "SRS"