summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-22 09:44:35 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-22 09:44:35 (GMT)
commit4814521a30b1edbd34a782cd804a501225294fd8 (patch)
treeb0b8df3ea1b5e5aaf8c964c8c817a8982cce644b /Swiften/Elements
parentfe4dbe0430524152d198401eb18934abd4bae082 (diff)
downloadswift-contrib-4814521a30b1edbd34a782cd804a501225294fd8.zip
swift-contrib-4814521a30b1edbd34a782cd804a501225294fd8.tar.bz2
Fix expanded tab characters.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/IQ.cpp6
-rw-r--r--Swiften/Elements/RosterPayload.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Elements/IQ.cpp b/Swiften/Elements/IQ.cpp
index 51f4745..3f47182 100644
--- a/Swiften/Elements/IQ.cpp
+++ b/Swiften/Elements/IQ.cpp
@@ -5,9 +5,9 @@ namespace Swift {
boost::shared_ptr<IQ> IQ::createRequest(
Type type, const JID& to, const String& id, boost::shared_ptr<Payload> payload) {
boost::shared_ptr<IQ> iq(new IQ(type));
- if (to.isValid()) {
- iq->setTo(to);
- }
+ if (to.isValid()) {
+ iq->setTo(to);
+ }
iq->setID(id);
if (payload) {
iq->addPayload(payload);
diff --git a/Swiften/Elements/RosterPayload.cpp b/Swiften/Elements/RosterPayload.cpp
index 8e2fd87..1aecde9 100644
--- a/Swiften/Elements/RosterPayload.cpp
+++ b/Swiften/Elements/RosterPayload.cpp
@@ -5,9 +5,9 @@ namespace Swift {
boost::optional<RosterItemPayload> RosterPayload::getItem(const JID& jid) const {
foreach(const RosterItemPayload& item, items_) {
- // FIXME: MSVC rejects this. Find out why.
+ // FIXME: MSVC rejects this. Find out why.
//if (item.getJID() == jid) {
- if (item.getJID().equals(jid, JID::WithResource)) {
+ if (item.getJID().equals(jid, JID::WithResource)) {
return boost::optional<RosterItemPayload>(item);
}
}