Merge lp:~stolowski/unity-scopes-api/fix-user-agent-in-preview into lp:unity-scopes-api/devel

Proposed by Paweł Stołowski
Status: Merged
Approved by: Paweł Stołowski
Approved revision: 512
Merged at revision: 519
Proposed branch: lp:~stolowski/unity-scopes-api/fix-user-agent-in-preview
Merge into: lp:unity-scopes-api/devel
Diff against target: 14 lines (+2/-2)
1 file modified
src/scopes/internal/smartscopes/SmartScopesClient.cpp (+2/-2)
To merge this branch: bzr merge lp:~stolowski/unity-scopes-api/fix-user-agent-in-preview
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Marcus Tomlinson (community) Approve
Review via email: mp+239602@code.launchpad.net

Commit message

Fixed arguments passed to SSS preview call.

Description of the change

Fixed arguments passed to SSS preview call. There was a mismatch in arguments passed to the sss client method, resulting in user agent being used for country argument.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Whoops. Ok

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

+1 :)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/scopes/internal/smartscopes/SmartScopesClient.cpp'
2--- src/scopes/internal/smartscopes/SmartScopesClient.cpp 2014-09-25 07:38:01 +0000
3+++ src/scopes/internal/smartscopes/SmartScopesClient.cpp 2014-10-28 11:11:22 +0000
4@@ -412,8 +412,8 @@
5 const uint widgets_api_version,
6 VariantMap const& settings,
7 std::string const& locale,
8- std::string const& user_agent_hdr,
9- std::string const& country)
10+ std::string const& country,
11+ std::string const& user_agent_hdr)
12 {
13 std::ostringstream preview_uri;
14 preview_uri << base_url << c_preview_resource << "?";

Subscribers

People subscribed via source and target branches

to all changes: