Skip to content

Commit

Permalink
Revert "Removed duplicate variable assignment of avpResCode"
Browse files Browse the repository at this point in the history
This reverts commit 2575d51.
  • Loading branch information
Steve Dwyer committed May 20, 2020
1 parent 2575d51 commit 3f9fafc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,9 +1060,10 @@ public boolean receiveMessage(IMessage message) {
if (isRedirectAnswer(avpResCode, message)) {
message.setListener(request.getEventListener());
message = processRedirectAnswer(request, message);
// if return value is not null, there was some error, lets try to invoke listener if it exists...
//if return value is not null, there was some error, lets try to invoke listener if it exists...
isProcessed = message == null;
}
avpResCode = message.getAvps().getAvp(RESULT_CODE);
if (isBusyOrUnableToDeliverAnswer(avpResCode, message)) {
message = processBusyOrUnableToDeliverAnswer(request, message);
// if return value is not null, there was some error, lets try to invoke listener if it exists...
Expand Down

0 comments on commit 3f9fafc

Please sign in to comment.