Clients: Fix config files truncating options after the first space.
Closes #2059. Thanks to Jason White.
This commit is contained in:
parent
f7dcd83572
commit
6c2dca51c3
@ -1,6 +1,9 @@
|
||||
Broker:
|
||||
- Fix exporting of executable symbols on BSD when building via makefile.
|
||||
|
||||
Clients:
|
||||
- Fix config files truncating options after the first space. Closes #2059.
|
||||
|
||||
Build:
|
||||
- Fix man page building to not absolutely require xsltproc when using CMake.
|
||||
This now handles the case where we are building from the released tar, or
|
||||
|
@ -357,7 +357,7 @@ int client_config_load(struct mosq_config *cfg, int pub_or_sub, int argc, char *
|
||||
* program name as the first entry. */
|
||||
args[1] = strtok(line, " ");
|
||||
if(args[1]){
|
||||
args[2] = strtok(NULL, " ");
|
||||
args[2] = strtok(NULL, "");
|
||||
if(args[2]){
|
||||
count = 3;
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user