From 91f29255ebc99c6d10422026bb87837d90692b66 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 1 Aug 2016 16:19:52 -0300 Subject: [PATCH] test --- basilisk/basilisk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index bcdb5ce94..87b619676 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -389,7 +389,7 @@ char *basilisk_standardservice(char *CMD,struct supernet_info *myinfo,void *_add } ptr->finished = (uint32_t)time(NULL); } - //if ( 0 && strcmp("RID",CMD) != 0 ) + if ( 0 && strcmp("RID",CMD) != 0 ) printf("%s.(%s) -> (%s)\n",CMD,jprint(valsobj,0),retstr!=0?retstr:""); return(retstr); } @@ -644,7 +644,7 @@ void basilisk_msgprocess(struct supernet_info *myinfo,void *_addr,uint32_t sende CMD[i] = toupper((int32_t)CMD[i]); cmd[i] = tolower((int32_t)CMD[i]); } - //if ( 1 && strcmp(CMD,"RID") != 0 && strcmp(CMD,"MSG") != 0 ) + if ( 1 && strcmp(CMD,"RID") != 0 && strcmp(CMD,"MSG") != 0 ) printf("MSGPROCESS %s.(%s) tag.%d\n",CMD,(char *)data,basilisktag); myinfo->basilisk_busy = 1; if ( valsobj != 0 ) @@ -832,7 +832,7 @@ void basilisks_loop(void *arg) portable_mutex_unlock(&myinfo->messagemutex); if ( myinfo->RELAYID >= 0 ) usleep(100000); - else sleep(1); + else sleep(10); } }