ndb/cs: remove paranoia debug toggle
This commit is contained in:
parent
1da5285c1e
commit
c4603260f8
1 changed files with 0 additions and 13 deletions
|
@ -80,7 +80,6 @@ Job *joblist;
|
|||
Mlist *mlist;
|
||||
int mfd[2];
|
||||
int debug;
|
||||
int paranoia;
|
||||
int ipv6lookups = 1;
|
||||
jmp_buf masterjmp; /* return through here after a slave process has been created */
|
||||
int *isslave; /* *isslave non-zero means this is a slave process */
|
||||
|
@ -127,7 +126,6 @@ QLock dblock; /* mutex on database operations */
|
|||
QLock netlock; /* mutex for netinit() */
|
||||
|
||||
char *logfile = "cs";
|
||||
char *paranoiafile = "cs.paranoia";
|
||||
|
||||
char mntpt[Maxpath];
|
||||
char netndb[Maxpath];
|
||||
|
@ -808,15 +806,6 @@ rwrite(Job *job, Mfile *mf)
|
|||
goto send;
|
||||
}
|
||||
|
||||
/*
|
||||
* toggle debugging
|
||||
*/
|
||||
if(strncmp(job->request.data, "paranoia", 8)==0){
|
||||
paranoia ^= 1;
|
||||
syslog(1, logfile, "paranoia %d", paranoia);
|
||||
goto send;
|
||||
}
|
||||
|
||||
/*
|
||||
* add networks to the default list
|
||||
*/
|
||||
|
@ -856,8 +845,6 @@ query:
|
|||
|
||||
if(debug)
|
||||
syslog(0, logfile, "write %s", job->request.data);
|
||||
if(paranoia)
|
||||
syslog(0, paranoiafile, "write %s by %s", job->request.data, mf->user);
|
||||
/*
|
||||
* break up name
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue