don't set stream state to disconnected on a non-stream error.
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 28 Apr 2009 20:49:26 +0000 (20:49 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 28 Apr 2009 20:49:26 +0000 (20:49 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1697 9efc2488-bf62-4759-914b-345cdb29e865

src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm

index 9d10463..1e60f70 100644 (file)
@@ -288,7 +288,6 @@ sub start_element {
     } elsif($name eq 'error') {
         $self->{message}->{err_type} = $attrs{'type'};
         $self->{message}->{err_code} = $attrs{'code'};
     } elsif($name eq 'error') {
         $self->{message}->{err_type} = $attrs{'type'};
         $self->{message}->{err_code} = $attrs{'code'};
-        $self->{stream_state} = DISCONNECTED;
     }
 }
 
     }
 }