Change the delimiter from '&' to ';'
[platform/upstream/iotivity.git] / resource / src / InProcClientWrapper.cpp
index bb6d860..1ba07f0 100644 (file)
@@ -802,13 +802,8 @@ namespace OC
         {
             for (auto& paramList : param.second)
             {
-                paramsList << param.first << '=' << paramList;
-                if (paramList != param.second.back())
-                {
-                    paramsList << '&';
-                }
+                paramsList << param.first << '=' << paramList << ';';
             }
-            paramsList << ';';
         }
 
         std::string queryString = paramsList.str();