Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libnrm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
libnrm
Commits
fdb93a74
Commit
fdb93a74
authored
Dec 21, 2018
by
Swann Perarnau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] missing arg to setsockopt
parent
e70b2039
Pipeline
#4771
passed with stages
in 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/downstream_api.c
src/downstream_api.c
+1
-1
No files found.
src/downstream_api.c
View file @
fdb93a74
...
...
@@ -29,7 +29,7 @@ int nrm_init(struct nrm_context *ctxt, const char *uuid)
ctxt
->
app_uuid
=
(
char
*
)
uuid
;
ctxt
->
context
=
zmq_ctx_new
();
ctxt
->
socket
=
zmq_socket
(
ctxt
->
context
,
ZMQ_DEALER
);
zmq_setsockopt
(
ctxt
->
socket
,
ZMQ_IDENTITY
,
ctxt
->
app_uuid
);
zmq_setsockopt
(
ctxt
->
socket
,
ZMQ_IDENTITY
,
ctxt
->
app_uuid
,
strnlen
(
uuid
,
255
)
);
int
err
=
zmq_connect
(
ctxt
->
socket
,
uri
);
assert
(
err
==
0
);
char
buf
[
512
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment