From 40e06b55c0c6a9401753b7a799491905fa253321 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 4 Dec 2009 18:36:07 +0000 Subject: [PATCH] Typo in mod_pubsub_odbc breaks Service Discovery and more (EJAB-1115) SVN Revision: 2785 --- src/mod_pubsub/mod_pubsub.erl | 2 +- src/mod_pubsub/mod_pubsub_odbc.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 578441bca..dfd2e2b2f 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -640,7 +640,7 @@ disco_local_features(Acc, _From, To, <<>>, _Lang) -> end, {result, Feats ++ lists:map(fun(Feature) -> ?NS_PUBSUB_s++"#"++Feature - end, features(Host, []))}; + end, features(Host, <<>>))}; disco_local_features(Acc, _From, _To, _Node, _Lang) -> Acc. diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index d0668080a..d6d3edaaa 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -445,7 +445,7 @@ disco_local_features(Acc, _From, To, <<>>, _Lang) -> end, {result, Feats ++ lists:map(fun(Feature) -> ?NS_PUBSUB_s++"#"++Feature - end, features(Host, []))}; + end, features(Host, <<>>))}; disco_local_features(Acc, _From, _To, _Node, _Lang) -> Acc.