aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-01-14 18:06:07 +0100
committerAnders Svensson <[email protected]>2013-01-14 18:06:07 +0100
commitac3d0c96f399757ed8cda797cab5d4eacbdbf482 (patch)
tree3097171542b297411a66490ca7628c7014dbe487
parentd5de2e1ffd6403f5d7ec62e6ce8da508e1cb1239 (diff)
downloadotp-ac3d0c96f399757ed8cda797cab5d4eacbdbf482.tar.gz
otp-ac3d0c96f399757ed8cda797cab5d4eacbdbf482.tar.bz2
otp-ac3d0c96f399757ed8cda797cab5d4eacbdbf482.zip
Reverse swapped arguments
The fault caused a handle_request callback to fail whenever an eval tuple was returned. Introduced in commit f24adb28.
-rw-r--r--lib/diameter/src/base/diameter_service.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index a4a0b80348..66c526b379 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2012. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -2049,7 +2049,7 @@ request_cb({eval_packet, RC, F}, App, Mask, T, TC, Fs, Pkt) ->
request_cb(RC, App, Mask, T, TC, [F|Fs], Pkt);
request_cb({eval, RC, F}, App, Mask, T, TC, Fs, Pkt) ->
- request_cb(RC, App, Mask, T, TC, Pkt, Fs),
+ request_cb(RC, App, Mask, T, TC, Fs, Pkt),
diameter_lib:eval(F).
%% protocol_error/5