dbg for debug

This commit is contained in:
云风
2012-09-14 12:04:14 +08:00
parent 374b65d199
commit 32dee2bbaa
6 changed files with 101 additions and 11 deletions

View File

@@ -394,6 +394,7 @@ skynet_command(struct skynet_context * context, const char * cmd , const char *
} else if (param[0] == '.') {
handle = skynet_handle_findname(param+1);
} else {
skynet_error(context, "Can't kill %s",param);
// todo : kill global service
}
if (handle) {

View File

@@ -84,7 +84,7 @@ skynet_start(struct skynet_config * config) {
}
ctx = skynet_context_new("snlua", "launcher");
if (ctx == NULL) {
fprintf(stderr,"launch launcher error");
fprintf(stderr,"launch launcher error\n");
exit(1);
}
ctx = skynet_context_new("snlua", config->start);