mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
use skynet_error for log
This commit is contained in:
@@ -330,6 +330,8 @@ start_listen(struct gate *g, char * listen_addr) {
|
||||
|
||||
int
|
||||
gate_init(struct gate *g , struct skynet_context * ctx, char * parm) {
|
||||
if (parm == NULL)
|
||||
return 1;
|
||||
int max = 0;
|
||||
int buffer = 0;
|
||||
int sz = strlen(parm)+1;
|
||||
|
||||
Reference in New Issue
Block a user