summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/contacts.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/contacts.h b/protocols/SkypeWeb/src/requests/contacts.h
index 796df60308..83e51fefc0 100644
--- a/protocols/SkypeWeb/src/requests/contacts.h
+++ b/protocols/SkypeWeb/src/requests/contacts.h
@@ -81,9 +81,8 @@ public:
<< CHAR_VALUE("X-Skypetoken", token)
<< CHAR_VALUE("Accept", "application/json")
<< CHAR_VALUE("Content-type", "application/x-www-form-urlencoded");
- CMStringA data;
- data.AppendFormat("greeting=%s", ptrA(mir_urlEncode(greeting)));
- Body << VALUE(data);
+
+ Body << CHAR_VALUE("greeting", ptrA(mir_urlEncode(greeting)));
}
};