Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Info604
col3-bibtp1
Commits
0a158e08
Commit
0a158e08
authored
Apr 04, 2020
by
pernelle
Browse files
Merge tag '2020.1.1' into develop
Finish 2020.1.1
parents
85178686
53895bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
communCOL3-TP1.c
View file @
0a158e08
...
...
@@ -231,7 +231,7 @@ void lireMessageCOL3(int sock, char * msgrecu) {
if
((
nbrecu
=
recv
(
sock
,
temp
,
sizeof
(
temp
),
0
))
<
0
)
{
if
(
!
NCURSE
)
printf
(
"%s"
,
" --> socket[lireMessageCOL3] : reception message [NOK]
\n
"
);
}
temp
[
nbrecu
]
=
'\0'
;
temp
[
nbrecu
<
0
?
0
:
nbrecu
]
=
'\0'
;
strcpy
(
msgrecu
,
temp
);
if
(
!
NCURSE
)
printf
(
"%s %d %s %s %s "
,
" --> socket[lireMessageCOL3] : reception message [OK] : nbrecu = "
,
nbrecu
,
" msg = {"
,
msgrecu
,
"}
\n
"
);
}
...
...
Write
Preview
Supports
Markdown
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