blob: 80770df7a939027f02e6191261e8eb7ce9cf785b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff -Naur gsopcast-0.4.0/src/channel.cc gsopcast-0.4.0-new/src/channel.cc
--- gsopcast-0.4.0/src/channel.cc 2008-01-09 17:55:39.000000000 +0800
+++ gsopcast-0.4.0-new/src/channel.cc 2010-03-21 09:26:44.720387730 +0800
@@ -206,8 +206,8 @@
buf_pt = strstr(buf_pt, "type=\"");
buf_pt += strlen("type=\"");
found = FALSE;
- if (*buf_pt != '0') ///filter
- found = TRUE;
+ //if (*buf_pt != '0') ///filter
+ //found = TRUE;
/////////////statistics
//for (i = 0; i < 9; i++) {
for (i = 0; i < 12; i++) {
diff -Naur gsopcast-0.4.0/src/header.h gsopcast-0.4.0-new/src/header.h
--- gsopcast-0.4.0/src/header.h 2008-01-09 17:55:39.000000000 +0800
+++ gsopcast-0.4.0-new/src/header.h 2010-03-21 09:23:44.978388612 +0800
@@ -35,6 +35,7 @@
#include <stdlib.h>
#include <signal.h>
#include <string>
+#include <string.h>
#include <unistd.h>
#include <termios.h>
#include <pthread.h>
|