File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,53 +298,53 @@ encode_string(const char *s, // I - String to encode
298298 {
299299 // Space is encoded as '+'
300300 if (bufptr < bufend )
301- * bufptr ++ = '+' ;
301+ * bufptr ++ = '+' ;
302302 else
303- bufptr ++ ;
303+ bufptr ++ ;
304304 }
305305 else if (* s == '\n' )
306306 {
307307 // Newline is encoded as percent-encoded CR & LF
308308 if (bufptr < bufend )
309309 * bufptr ++ = '%' ;
310310 else
311- bufptr ++ ;
311+ bufptr ++ ;
312312 if (bufptr < bufend )
313- * bufptr ++ = '0' ;
313+ * bufptr ++ = '0' ;
314314 else
315- bufptr ++ ;
315+ bufptr ++ ;
316316 if (bufptr < bufend )
317- * bufptr ++ = 'D' ;
317+ * bufptr ++ = 'D' ;
318318 else
319- bufptr ++ ;
319+ bufptr ++ ;
320320 if (bufptr < bufend )
321- * bufptr ++ = '%' ;
321+ * bufptr ++ = '%' ;
322322 else
323- bufptr ++ ;
323+ bufptr ++ ;
324324 if (bufptr < bufend )
325- * bufptr ++ = '0' ;
325+ * bufptr ++ = '0' ;
326326 else
327- bufptr ++ ;
327+ bufptr ++ ;
328328 if (bufptr < bufend )
329- * bufptr ++ = 'A' ;
329+ * bufptr ++ = 'A' ;
330330 else
331- bufptr ++ ;
331+ bufptr ++ ;
332332 }
333333 else if (!isalnum (* s & 255 ))
334334 {
335335 // Characters other than letters and numbers get percent-encoded
336336 if (bufptr < bufend )
337337 * bufptr ++ = '%' ;
338338 else
339- bufptr ++ ;
339+ bufptr ++ ;
340340 if (bufptr < bufend )
341- * bufptr ++ = hex [(* s >> 4 ) & 15 ];
341+ * bufptr ++ = hex [(* s >> 4 ) & 15 ];
342342 else
343- bufptr ++ ;
343+ bufptr ++ ;
344344 if (bufptr < bufend )
345- * bufptr ++ = hex [* s & 15 ];
345+ * bufptr ++ = hex [* s & 15 ];
346346 else
347- bufptr ++ ;
347+ bufptr ++ ;
348348 }
349349 else if (bufptr < bufend )
350350 {
You can’t perform that action at this time.
0 commit comments