diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-04-04 18:27:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-04-04 18:27:44 +0100 |
commit | 0e4c35dd868723eb1bf99dc72484fd076fffb9f6 (patch) | |
tree | 5d889dd44eb613a90e5beaeb919e59602fdf55c8 /plugins/mod_ping.lua | |
parent | ae1e3a1930fc2953e81868ee6ae3e88de0a511b1 (diff) | |
download | prosody-0e4c35dd868723eb1bf99dc72484fd076fffb9f6.tar.gz prosody-0e4c35dd868723eb1bf99dc72484fd076fffb9f6.zip |
net.http: Fix parameter order to http request callbacks
Commit e3b9dc9dd940 changed the parameter order in 2013, but did not update the names of the parameters in the callback function. Due to this inconsistency, 12df41a5a4b1 accidentally reversed the order when fixing the variable names without fixing where they are used.
Additionally the documentation was incorrect (since 2013), and this has also now been fixed.
Diffstat (limited to 'plugins/mod_ping.lua')
0 files changed, 0 insertions, 0 deletions