Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
PRRT
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LARN
PRRT
Commits
7bc0e9e9
Commit
7bc0e9e9
authored
Apr 19, 2018
by
Andreas Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix time-* programs.
parent
fbc5ed58
Pipeline
#2208
failed with stages
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
prrt/time-protocol.h
prrt/time-protocol.h
+2
-2
No files found.
prrt/time-protocol.h
View file @
7bc0e9e9
...
...
@@ -109,7 +109,7 @@ static inline void _close(socket_t conn)
typedef
PrrtSocket
*
socket_t
;
static
inline
socket_t
_open_sender
(
struct
arguments
*
args
)
{
PrrtSocket
*
s
=
PrrtSocket_create
(
true
,
300
*
1000
);
PrrtSocket
*
s
=
PrrtSocket_create
(
300
*
1000
);
s
->
withTimestamp
=
true
;
assert
(
s
!=
NULL
&&
"Socket create failed."
);
...
...
@@ -124,7 +124,7 @@ static inline socket_t _open_sender(struct arguments *args) {
}
static
inline
socket_t
_open_receiver
(
struct
arguments
*
args
)
{
socket_t
s
=
PrrtSocket_create
(
false
,
HALF_TIMESTAMP
-
1
);
socket_t
s
=
PrrtSocket_create
(
HALF_TIMESTAMP
-
1
);
assert
(
s
!=
NULL
&&
"Could not create socket."
);
if
(
args
->
thread_pinning
)
{
...
...
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