SVN: toys/rsget.pl/RSGet/ListAdder.pm

sparky sparky at pld-linux.org
Sun May 23 22:53:21 CEST 2010


Author: sparky
Date: Sun May 23 22:53:20 2010
New Revision: 11486

Modified:
   toys/rsget.pl/RSGet/ListAdder.pm
Log:
- change line command back to "ADD" when clearing error in http add interface


Modified: toys/rsget.pl/RSGet/ListAdder.pm
==============================================================================
--- toys/rsget.pl/RSGet/ListAdder.pm	(original)
+++ toys/rsget.pl/RSGet/ListAdder.pm	Sun May 23 22:53:20 2010
@@ -312,6 +312,7 @@
 		my $target = $self->find_uri( $data );
 		if ( $cmd eq "CLEAR ERROR" ) {
 			delete $target->{uris}->{ $data }->[1]->{error};
+			$target->{cmd} = "ADD";
 		} elsif ( $cmd eq "DISABLE" ) {
 			$target->{uris}->{ $data }->[1]->{error} = "disabled";
 		} elsif ( $cmd eq "REMOVE" ) {


More information about the pld-cvs-commit mailing list