aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-03-23 17:38:41 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-05-15 21:46:30 +0200
commitc04d046210296c2d895fae98f29ffee4a6e9774f (patch)
tree333c7164400cb17ca337045d6429cee3c8387bbc
parentfbdb9ece01c3778e0acb2aa6b55137d3f6c653d0 (diff)
SDR: Fixed SoapySDR's arguments parsing
-rw-r--r--src/common/soapy.c2
1 files changed, 1 insertions, 1 deletions
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';