Repository: cloudstack
Updated Branches:
  refs/heads/hotfix/CID-1256277 f06e7b00e -> 51c74560e


CID-1256277 logic error fixed

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/51c74560
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/51c74560
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/51c74560

Branch: refs/heads/hotfix/CID-1256277
Commit: 51c74560e6150455bec604544718e33c71352ecb
Parents: f06e7b0
Author: Daan Hoogland <[email protected]>
Authored: Wed Dec 3 13:25:26 2014 +0100
Committer: Daan Hoogland <[email protected]>
Committed: Wed Dec 3 13:25:26 2014 +0100

----------------------------------------------------------------------
 server/src/com/cloud/user/AccountManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/51c74560/server/src/com/cloud/user/AccountManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/user/AccountManagerImpl.java 
b/server/src/com/cloud/user/AccountManagerImpl.java
index ab10c27..983a58a 100644
--- a/server/src/com/cloud/user/AccountManagerImpl.java
+++ b/server/src/com/cloud/user/AccountManagerImpl.java
@@ -2039,7 +2039,7 @@ public class AccountManagerImpl extends ManagerBase 
implements AccountManager, M
                             }
                         }
 
-                        if (unsignedRequestBuffer.length() == 0) {
+                        if (unsignedRequestBuffer.length() != 0) {
                             unsignedRequestBuffer.append("&");
                         }
                         
unsignedRequestBuffer.append(paramName).append("=").append(URLEncoder.encode(paramValue,
 "UTF-8"));

Reply via email to