Merge pull request #277 from nmeum/fix-U-option

coap-client: The -U option doesn't expect an argument
This commit is contained in:
obgm authored and GitHub committed 2018-11-28 13:15:11 +01:00
commit ea4bca7335
1 file changed
+1 -1
+1 -1
View File
@@ -1206,7 +1206,7 @@ main(int argc, char **argv) {
int create_uri_opts = 1;
struct sigaction sa;
while ((opt = getopt(argc, argv, "Nra:b:c:e:f:k:m:p:s:t:o:v:A:B:C:O:P:R:T:u:U:l:K:")) != -1) {
while ((opt = getopt(argc, argv, "NrUa:b:c:e:f:k:m:p:s:t:o:v:A:B:C:O:P:R:T:u:l:K:")) != -1) {
switch (opt) {
case 'a':
strncpy(node_str, optarg, NI_MAXHOST - 1);