mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-27 14:41:45 +02:00
2015-02-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'ripcd/swauthority.cpp' that failed to log notification when reconnecting.
This commit is contained in:
parent
30a9f6f823
commit
27561842e7
@ -14762,3 +14762,6 @@
|
|||||||
enumeration in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'.
|
enumeration in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'.
|
||||||
* Implemented a switcher driver for systems using Software Authority
|
* Implemented a switcher driver for systems using Software Authority
|
||||||
Protocol in 'ripcd/swauthority.cpp' and 'ripcd/swauthority.h'.
|
Protocol in 'ripcd/swauthority.cpp' and 'ripcd/swauthority.h'.
|
||||||
|
2015-02-21 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in 'ripcd/swauthority.cpp' that failed to log
|
||||||
|
notification when reconnecting.
|
||||||
|
@ -288,7 +288,7 @@ void SoftwareAuthority::DispatchCommand()
|
|||||||
// LogLine(RDConfig::LogNotice,QString().sprintf("RECEIVED: %s",(const char *)swa_buffer));
|
// LogLine(RDConfig::LogNotice,QString().sprintf("RECEIVED: %s",(const char *)swa_buffer));
|
||||||
|
|
||||||
QString line_in=swa_buffer;
|
QString line_in=swa_buffer;
|
||||||
QString section=line_in.lower();
|
QString section=line_in.lower().replace(">>","");
|
||||||
|
|
||||||
//
|
//
|
||||||
// Startup Sequence. Get the input and output lists.
|
// Startup Sequence. Get the input and output lists.
|
||||||
@ -311,12 +311,12 @@ void SoftwareAuthority::DispatchCommand()
|
|||||||
|
|
||||||
switch(swa_istate) {
|
switch(swa_istate) {
|
||||||
case 0: // No section selected
|
case 0: // No section selected
|
||||||
if(section==">>begin sourcenames - 1") {
|
if(section=="begin sourcenames - 1") {
|
||||||
swa_istate=1;
|
swa_istate=1;
|
||||||
swa_inputs=0;
|
swa_inputs=0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(section==">>begin destnames - 1") {
|
if(section=="begin destnames - 1") {
|
||||||
swa_istate=2;
|
swa_istate=2;
|
||||||
swa_outputs=0;
|
swa_outputs=0;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user