From c04d046210296c2d895fae98f29ffee4a6e9774f Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Thu, 23 Mar 2017 17:38:41 +0100 Subject: SDR: Fixed SoapySDR's arguments parsing --- src/common/soapy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/soapy.c b/src/common/soapy.c index c005162..28dedde 100644 --- a/src/common/soapy.c +++ b/src/common/soapy.c @@ -55,7 +55,7 @@ int soapy_open(const char *device_args, double tx_frequency, double rx_frequency soapy_close(); return -EIO; } - val++; + *val++ = '\0'; arg_string = strchr(val, ','); if (arg_string) *arg_string++ = '\0'; -- cgit v1.2.3