projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some \n's
[my-code/ivac.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
3293a57
..
449dacf
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-144,7
+144,7
@@
int network_connect(t_net *net,int channel) {
return N_E_IN_USE;
}
if(!(net->connection[channel].status&C_INFO_A)) {
return N_E_IN_USE;
}
if(!(net->connection[channel].status&C_INFO_A)) {
- printf("[network] connect failed, missing configuration for channel %02d",
+ printf("[network] connect failed, missing configuration for channel %02d
\n
",
channel);
return N_E_NO_INFO;
}
channel);
return N_E_NO_INFO;
}
@@
-157,7
+157,7
@@
int network_connect(t_net *net,int channel) {
int network_close(t_net *net,int channel) {
if(!(net->connection[channel].status&C_ESTABL)) {
int network_close(t_net *net,int channel) {
if(!(net->connection[channel].status&C_ESTABL)) {
- printf("[network] close failed, channel %02d not active",channel);
+ printf("[network] close failed, channel %02d not active
\n
",channel);
return N_E_NC;
}
return N_E_NC;
}