diff options
| author | 杨威 <[email protected]> | 2023-05-17 17:58:34 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2023-05-22 09:37:32 +0800 |
| commit | 9e1a7a7e1176f69a1202b246c22bc61da6afab66 (patch) | |
| tree | 70d4e4c41046033532c2792fbda1c3348a90d78f | |
| parent | bfd099f0e76f36228f92305aa85455cb4e0edb35 (diff) | |
🐞 fix(get_rawpkt_opt_from_streaminfo): 修复异常处理时的bugv4.3.3
| -rw-r--r-- | src/dealpkt/plug_support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dealpkt/plug_support.c b/src/dealpkt/plug_support.c index 4e3cf4d..8eaac56 100644 --- a/src/dealpkt/plug_support.c +++ b/src/dealpkt/plug_support.c @@ -449,8 +449,8 @@ int get_rawpkt_opt_from_streaminfo(const struct streaminfo *pstream, int type, v {
*value = (void *)(pstream_pr->polling_inject_context->meta[pstream->routedir]->data);
ret = pstream_pr->polling_inject_context->meta[pstream->routedir]->sz_data;
- return ret;
}
+ return ret;
}
break;
case RAW_PKT_GET_SID_LIST:
@@ -460,8 +460,8 @@ int get_rawpkt_opt_from_streaminfo(const struct streaminfo *pstream, int type, v {
*value = (void *)(&pstream_pr->polling_inject_context->meta[pstream->routedir]->raw_sid_list);
ret = sizeof(struct segment_id_list);
- return ret;
}
+ return ret;
}
break;
}
|
