From 1c2d63917930a20142f9d5e1507519109fce8ef5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 29 Oct 2009 12:41:51 +0000 Subject: [PATCH] Fix small typo (thanks to MiCHi) SVN Revision: 2716 --- src/mod_pubsub/mod_pubsub_odbc.erl | 2 +- src/mod_pubsub/pubsub_odbc.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index 4cafe2403..3addbd56c 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -929,7 +929,7 @@ iq_disco_info(Host, SNode, From, Lang) -> node_disco_info(Host, Node, From) end. -iq_disco_items(Host, [], Fromi, _RSM) -> +iq_disco_items(Host, [], From, _RSM) -> case tree_action(Host, get_subnodes, [Host, <<>>, From]) of Nodes when is_list(Nodes) -> {result, lists:map( diff --git a/src/mod_pubsub/pubsub_odbc.patch b/src/mod_pubsub/pubsub_odbc.patch index 307122ead..88c69fd67 100644 --- a/src/mod_pubsub/pubsub_odbc.patch +++ b/src/mod_pubsub/pubsub_odbc.patch @@ -358,7 +358,7 @@ end. -iq_disco_items(Host, [], From) -> -+iq_disco_items(Host, [], Fromi, _RSM) -> ++iq_disco_items(Host, [], From, _RSM) -> case tree_action(Host, get_subnodes, [Host, <<>>, From]) of Nodes when is_list(Nodes) -> {result, lists:map(