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;
}
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;
}