slist = curl_slist_append(slist, auth.c_str());
slist = curl_slist_append(slist, http_date.c_str());
for(list<string>::iterator it = extra_hdrs.begin();
- it != extra_hdrs.end(); it++){
+ it != extra_hdrs.end(); ++it){
slist = curl_slist_append(slist, (*it).c_str());
}
if(read_function)
argv[0] = (char *)"radosgw-admin";
for (list<string>::iterator it = l.begin();
- it != l.end(); it++) {
+ it != l.end(); ++it) {
argv[loop++] = (char *)(*it).c_str();
}
argv[loop] = NULL;
decode_json_obj(info, &parser);
creds = "";
for(map<string, RGWAccessKey>::iterator it = info.access_keys.begin();
- it != info.access_keys.end(); it++) {
+ it != info.access_keys.end(); ++it) {
RGWAccessKey _k = it->second;
/*cout << "accesskeys [ " << it->first << " ] = " <<
"{ " << _k.id << ", " << _k.key << ", " << _k.subuser << "}" << std::endl;*/
l = parser.get_array_elements();
int loop = 0;
for(vector<string>::iterator it = l.begin();
- it != l.end(); it++, loop++) {
+ it != l.end(); ++it, loop++) {
JSONParser jp;
cls_statelog_entry entry;