summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2021-04-29 16:27:39 +0800
committerliuxueli <[email protected]>2021-04-29 16:27:39 +0800
commit3210ba45f7b0caab67babcd05b89768fe1baf8e4 (patch)
treeda9ff39e92755c36e0d658e484c2264e76371a30
parente4c3d1d3255e3fc53e3524027cb2131c2ca831d7 (diff)
set_struct_project函数允许设置NULLv4.0.3
-rw-r--r--src/tsg_entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp
index 9d48b28..3a68381 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -191,7 +191,7 @@ static int set_drop_stream(const struct streaminfo *a_stream)
static int set_struct_project(const struct streaminfo *a_stream, int project_id, void *data)
{
- if(a_stream==NULL || project_id<0 || data==NULL)
+ if(a_stream==NULL || project_id<0)
{
return 0;
}