mirror of https://github.com/PentHertz/srsLTE.git
ZMQ: Fix empty arguments SEGFAULT
This commit is contained in:
parent
71c83bd0e0
commit
ff77bcb782
|
@ -255,7 +255,7 @@ int rf_zmq_open_multi(char* args, void** h, uint32_t nof_channels)
|
|||
goto clean_exit;
|
||||
}
|
||||
|
||||
for (int i = 0; i < handler->nof_channels; i++) {
|
||||
for (int i = 0; i < handler->nof_channels && args != NULL; i++) {
|
||||
// rxport
|
||||
{
|
||||
char config_arg[PARAM_LEN] = "rx_port=";
|
||||
|
|
Loading…
Reference in New Issue