project_files/frontlib/net/netbase.c
changeset 7497 7e1d72fc03c7
parent 7316 f7b49b2c5d84
child 10017 de822cd3df3a
equal deleted inserted replaced
7494:e65adfc99f15 7497:7e1d72fc03c7
   176 		net->sock = NULL;
   176 		net->sock = NULL;
   177 		return -1;
   177 		return -1;
   178 	}
   178 	}
   179 }
   179 }
   180 
   180 
   181 int flib_netbase_send_message(flib_netbase *net, flib_netmsg *msg) {
   181 int flib_netbase_send_message(flib_netbase *net, const flib_netmsg *msg) {
   182 	if(log_badargs_if2(net==NULL, msg==NULL)) {
   182 	if(log_badargs_if2(net==NULL, msg==NULL)) {
   183 		return -1;
   183 		return -1;
   184 	}
   184 	}
   185 
   185 
   186 	size_t totalSize = 0;
   186 	size_t totalSize = 0;