'Q' now quits Kismet :) (Thanks to mazzoo for the hint)
git-svn-id: https://dedected.org/svn/trunk@64 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
This commit is contained in:
parent
9f1a220316
commit
2533c44045
|
@ -137,6 +137,7 @@ public:
|
|||
"C - Sort by Channel (descending)\n"
|
||||
"s - Sort by view count (ascending)\n"
|
||||
"S - Sort by view count (descending)\n"
|
||||
"Q - Quit\n"
|
||||
"<enter> - Sync with selected station and dump calls\n";
|
||||
Kis_ModalAlert_Panel *ma = new Kis_ModalAlert_Panel(globalreg, globalreg->panel_interface);
|
||||
ma->Position(2, 2, 21, 70);
|
||||
|
@ -240,6 +241,10 @@ public:
|
|||
sort_by = SORT_BY_COUNTSEEN;
|
||||
descending = true;
|
||||
}
|
||||
if (in_key == 'Q') {
|
||||
globalreg->fatal_condition = 1;
|
||||
_MSG("Quitting..", MSGFLAG_INFO);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -177,7 +177,6 @@ Dumpfile_Dectpcap::Dumpfile_Dectpcap(GlobalRegistry *in_globalreg) :
|
|||
globalreg->fatal_condition) {
|
||||
return;
|
||||
}
|
||||
|
||||
dectpcapfile = fopen(fname.c_str(), "w");
|
||||
if (dectpcapfile == NULL) {
|
||||
snprintf(errstr, STATUS_MAX,
|
||||
|
@ -242,7 +241,6 @@ int Dumpfile_Dectpcap::chain_handler(kis_packet *in_pack) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// XXX Dump .wav?
|
||||
struct pcap_pkthdr pcap_hdr;
|
||||
pcap_hdr.caplen = 73;
|
||||
pcap_hdr.len = 73;
|
||||
|
|
Loading…
Reference in New Issue