mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +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:
@@ -288,7 +288,7 @@ void SoftwareAuthority::DispatchCommand()
|
||||
// LogLine(RDConfig::LogNotice,QString().sprintf("RECEIVED: %s",(const char *)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.
|
||||
@@ -311,12 +311,12 @@ void SoftwareAuthority::DispatchCommand()
|
||||
|
||||
switch(swa_istate) {
|
||||
case 0: // No section selected
|
||||
if(section==">>begin sourcenames - 1") {
|
||||
if(section=="begin sourcenames - 1") {
|
||||
swa_istate=1;
|
||||
swa_inputs=0;
|
||||
return;
|
||||
}
|
||||
if(section==">>begin destnames - 1") {
|
||||
if(section=="begin destnames - 1") {
|
||||
swa_istate=2;
|
||||
swa_outputs=0;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user