|
42 | 42 | #include <unistd.h> |
43 | 43 | #endif |
44 | 44 |
|
| 45 | + |
45 | 46 | #ifndef S_ISDIR |
46 | 47 | #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) |
47 | 48 | #endif |
@@ -1157,7 +1158,7 @@ static void _set_query_param_flag(const ds3_request* _request, const char* key, |
1157 | 1158 | static void _set_query_param_uint64_t(const ds3_request* _request, const char* key, uint64_t value) { |
1158 | 1159 | char string_buffer[UNSIGNED_LONG_LONG_BASE_10_STR_LEN]; |
1159 | 1160 | memset(string_buffer, 0, sizeof(string_buffer)); |
1160 | | - snprintf(string_buffer, sizeof(string_buffer), "%"PRIu64, value); |
| 1161 | + snprintf(string_buffer, sizeof(string_buffer), "%" PRIu64, value); |
1161 | 1162 | _set_query_param(_request, key, string_buffer); |
1162 | 1163 | } |
1163 | 1164 |
|
@@ -3602,7 +3603,7 @@ static xmlDocPtr _generate_xml_bulk_objects_list(const ds3_bulk_object_list_resp |
3602 | 3603 |
|
3603 | 3604 | for (obj_index = 0; obj_index < obj_list->num_objects; obj_index++) { |
3604 | 3605 | obj = obj_list->objects[obj_index]; |
3605 | | - g_snprintf(size_buff, sizeof(char) * UNSIGNED_LONG_LONG_BASE_10_STR_LEN, "%"PRIu64, obj->length); |
| 3606 | + g_snprintf(size_buff, sizeof(char) * UNSIGNED_LONG_LONG_BASE_10_STR_LEN, "%" PRIu64, obj->length); |
3606 | 3607 |
|
3607 | 3608 | object_node = xmlNewNode(NULL, (xmlChar*) "Object"); |
3608 | 3609 | xmlAddChild(objects_node, object_node); |
|
0 commit comments