@@ -86,7 +86,7 @@ namespace boost { namespace network { namespace http {
86
86
};
87
87
88
88
return result;
89
- }
89
+ }
90
90
91
91
template <typename Tag>
92
92
typename message_impl<Tag>::string_type const message_impl<Tag>::make_query_string(typename query_container<Tag>::type const & query_params)
@@ -168,12 +168,12 @@ namespace boost { namespace network { namespace http {
168
168
char base64code3;
169
169
170
170
base64code0 = decoding_data[static_cast <int >(input_ptr[i])];
171
- if (base64code0==nop) // non base64 character
171
+ if (base64code0==nop) // non base64 character
172
172
return false ;
173
173
if (!(++i<input_length)) // we need at least two input bytes for first byte output
174
174
return false ;
175
175
base64code1 = decoding_data[static_cast <int >(input_ptr[i])];
176
- if (base64code1==nop) // non base64 character
176
+ if (base64code1==nop) // non base64 character
177
177
return false ;
178
178
179
179
output += ((base64code0 << 2 ) | ((base64code1 >> 4 ) & 0x3 ));
@@ -185,7 +185,7 @@ namespace boost { namespace network { namespace http {
185
185
return true ;
186
186
}
187
187
base64code2 = decoding_data[static_cast <int >(input_ptr[i])];
188
- if (base64code2==nop) // non base64 character
188
+ if (base64code2==nop) // non base64 character
189
189
return false ;
190
190
191
191
output += ((base64code1 << 4 ) & 0xf0 ) | ((base64code2 >> 2 ) & 0x0f );
@@ -198,7 +198,7 @@ namespace boost { namespace network { namespace http {
198
198
return true ;
199
199
}
200
200
base64code3 = decoding_data[static_cast <int >(input_ptr[i])];
201
- if (base64code3==nop) // non base64 character
201
+ if (base64code3==nop) // non base64 character
202
202
return false ;
203
203
204
204
output += (((base64code2 << 6 ) & 0xc0 ) | base64code3 );
@@ -231,9 +231,9 @@ namespace boost { namespace network { namespace http {
231
231
int base64code2=0 ;
232
232
int base64code3=0 ;
233
233
234
- base64code0 = (input_ptr[i] >> 2 ) & 0x3f ; // 1-byte 6 bits
234
+ base64code0 = (input_ptr[i] >> 2 ) & 0x3f ; // 1-byte 6 bits
235
235
output += encoding_data[base64code0];
236
- base64code1 = (input_ptr[i] << 4 ) & 0x3f ; // 1-byte 2 bits +
236
+ base64code1 = (input_ptr[i] << 4 ) & 0x3f ; // 1-byte 2 bits +
237
237
238
238
if (++i < input_length) {
239
239
base64code1 |= (input_ptr[i] >> 4 ) & 0x0f ; // 2-byte 4 bits
@@ -242,7 +242,7 @@ namespace boost { namespace network { namespace http {
242
242
243
243
if (++i < input_length) {
244
244
base64code2 |= (input_ptr[i] >> 6 ) & 0x03 ; // 3-byte 2 bits
245
- base64code3 = input_ptr[i] & 0x3f ; // 3-byte 6 bits
245
+ base64code3 = input_ptr[i] & 0x3f ; // 3-byte 6 bits
246
246
output += encoding_data[base64code2];
247
247
output += encoding_data[base64code3];
248
248
} else {
0 commit comments