Skip to content

Commit

Permalink
Update changelog, improve warning message from last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed May 10, 2019
1 parent c411b73 commit a47da31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
Broker:
- Fix detection of incoming v3.1/v3.1.1 bridges. Closes #1263.

Clients:
- Fix -L url parsing when `/topic` part is missing.


1.6.2 - 20190430
================
Expand Down
2 changes: 1 addition & 1 deletion client/client_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ int client_config_line_proc(struct mosq_config *cfg, int pub_or_sub, int argc, c
}
topic = strchr(url, '/');
if(!topic){
fprintf(stderr, "Error: invalid URL for -L argument specified.\n\n");
fprintf(stderr, "Error: Invalid URL for -L argument specified - topic missing.\n");
return 1;
}
*topic++ = 0;
Expand Down

0 comments on commit a47da31

Please sign in to comment.