mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
netutils: nxstyle fixes
fixes for errors reported by nxstyle tool Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:

committed by
Xiang Xiao

parent
adc3c9fae9
commit
5572819bb1
@@ -120,6 +120,7 @@ int curl4nx_easy_setopt(FAR struct curl4nx_s *handle, int option,
|
||||
cret = CURL4NXE_BAD_FUNCTION_ARGUMENT;
|
||||
break;
|
||||
}
|
||||
|
||||
handle->port = (uint16_t)(port & 0xffff);
|
||||
break;
|
||||
}
|
||||
@@ -196,6 +197,7 @@ int curl4nx_easy_setopt(FAR struct curl4nx_s *handle, int option,
|
||||
cret = CURL4NXE_BAD_FUNCTION_ARGUMENT;
|
||||
break;
|
||||
}
|
||||
|
||||
handle->max_redirs = redirs;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user