version 1.43, 2001/03/27 12:49:18
|
version 1.45, 2001/03/27 13:37:43
|
Line 969 sub make_new_child {
|
Line 969 sub make_new_child {
|
} |
} |
# ------------------------------------------------------------------- querysend |
# ------------------------------------------------------------------- querysend |
} elsif ($userinput =~ /^querysend/) { |
} elsif ($userinput =~ /^querysend/) { |
my ($cmd,$query,$custom)=split(/:/,$userinput); |
my ($cmd,$query, |
|
$custom,$customshow)=split(/:/,$userinput); |
$query=~s/\n*$//g; |
$query=~s/\n*$//g; |
unless ($custom) { |
unless ($custom or $customshow) { |
print $client "". |
print $client "". |
sqlreply("$hostid{$clientip}\&$query")."\n"; |
sqlreply("$hostid{$clientip}\&$query")."\n"; |
} |
} |
else { |
else { |
print $client "". |
print $client "". |
sqlreply("$hostid{$clientip}\&$query". |
sqlreply("$hostid{$clientip}\&$query". |
"\&$custom")."\n"; |
"\&$custom"."\&$customshow")."\n"; |
} |
} |
# ------------------------------------------------------------------ queryreply |
# ------------------------------------------------------------------ queryreply |
} elsif ($userinput =~ /^queryreply/) { |
} elsif ($userinput =~ /^queryreply/) { |