Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-sdk
Commits
e332fd30
Commit
e332fd30
authored
3 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature-4411-2' into 'release-2.9'
... See merge request
!310
parents
e69436fc
7dfe8648
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!326
Release 2.9
,
!310
...
Pipeline
#7656
passed with stage
in 4 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
dap-sdk/core/libdap.pri
+0
-1
0 additions, 1 deletion
dap-sdk/core/libdap.pri
dap-sdk/net/core/dap_server.c
+12
-9
12 additions, 9 deletions
dap-sdk/net/core/dap_server.c
with
13 additions
and
11 deletions
CMakeLists.txt
+
1
−
1
View file @
e332fd30
...
@@ -2,7 +2,7 @@ project(cellframe-sdk C)
...
@@ -2,7 +2,7 @@ project(cellframe-sdk C)
cmake_minimum_required
(
VERSION 3.0
)
cmake_minimum_required
(
VERSION 3.0
)
set
(
CMAKE_C_STANDARD 11
)
set
(
CMAKE_C_STANDARD 11
)
set
(
CELLFRAME_SDK_NATIVE_VERSION
"2.9-
7
"
)
set
(
CELLFRAME_SDK_NATIVE_VERSION
"2.9-
8
"
)
add_definitions
(
"-DCELLFRAME_SDK_VERSION=
\"
${
CELLFRAME_SDK_NATIVE_VERSION
}
\"
"
)
add_definitions
(
"-DCELLFRAME_SDK_VERSION=
\"
${
CELLFRAME_SDK_NATIVE_VERSION
}
\"
"
)
set
(
DAPSDK_MODULES
""
)
set
(
DAPSDK_MODULES
""
)
message
(
"Cellframe modules:
${
CELLFRAME_MODULES
}
"
)
message
(
"Cellframe modules:
${
CELLFRAME_MODULES
}
"
)
...
...
This diff is collapsed.
Click to expand it.
dap-sdk/core/libdap.pri
+
0
−
1
View file @
e332fd30
...
@@ -53,7 +53,6 @@ win32 {
...
@@ -53,7 +53,6 @@ win32 {
HEADERS += $$PWD/../../3rdparty/uthash/src/utlist.h \
HEADERS += $$PWD/../../3rdparty/uthash/src/utlist.h \
$$PWD/../../3rdparty/uthash/src/uthash.h
$$PWD/../../3rdparty/uthash/src/uthash.h
# Sources itself
# Sources itself
HEADERS += $$PWD/include/dap_common.h \
HEADERS += $$PWD/include/dap_common.h \
$$PWD/include/dap_binary_tree.h \
$$PWD/include/dap_binary_tree.h \
...
...
This diff is collapsed.
Click to expand it.
dap-sdk/net/core/dap_server.c
+
12
−
9
View file @
e332fd30
...
@@ -239,16 +239,19 @@ static int s_server_run(dap_server_t * a_server, dap_events_socket_callbacks_t *
...
@@ -239,16 +239,19 @@ static int s_server_run(dap_server_t * a_server, dap_events_socket_callbacks_t *
{
{
assert
(
a_server
);
assert
(
a_server
);
#ifdef DAP_OS_WINDOWS
struct
sockaddr
*
l_listener_addr
=
struct
sockaddr
*
l_listener_addr
=
(
struct
sockaddr
*
)
&
(
a_server
->
listener_addr
);
#ifndef DAP_OS_WINDOWS
#else
a_server
->
type
==
SERVER_LOCAL
?
struct
sockaddr
*
l_listener_addr
=
a_server
->
type
==
SERVER_LOCAL
?
(
struct
sockaddr
*
)
&
(
a_server
->
listener_path
)
:
(
struct
sockaddr
*
)
&
(
a_server
->
listener_path
)
:
#endif
(
struct
sockaddr
*
)
&
(
a_server
->
listener_addr
);
(
struct
sockaddr
*
)
&
(
a_server
->
listener_addr
);
socklen_t
l_listener_addr_len
=
#ifndef DAP_OS_WINDOWS
a_server
->
type
==
SERVER_LOCAL
?
sizeof
(
a_server
->
listener_path
)
:
#endif
#endif
socklen_t
l_listener_addr_len
=
a_server
->
type
==
SERVER_LOCAL
?
sizeof
(
a_server
->
listener_addr
);
sizeof
(
a_server
->
listener_path
)
:
sizeof
(
a_server
->
listener_addr
);
if
(
bind
(
a_server
->
socket_listener
,
l_listener_addr
,
l_listener_addr_len
)
<
0
)
{
if
(
bind
(
a_server
->
socket_listener
,
l_listener_addr
,
l_listener_addr_len
)
<
0
)
{
#ifdef DAP_OS_WINDOWS
#ifdef DAP_OS_WINDOWS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment