Skip to content

Commit 37cf7f6

Browse files
javiereguiluzcmb69
authored andcommitted
[ci skip] Fix minor typos
Closes GH-9047.
1 parent e328c68 commit 37cf7f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main/SAPI.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static void sapi_read_post_data(void)
208208
/* fallback */
209209
SG(request_info).post_entry = NULL;
210210
if (!sapi_module.default_post_reader) {
211-
/* no default reader ? */
211+
/* no default reader? */
212212
SG(request_info).content_type_dup = NULL;
213213
sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type);
214214
return;
@@ -357,7 +357,7 @@ SAPI_API void sapi_get_default_content_type_header(sapi_header_struct *default_h
357357
* there is not already a charset option in there.
358358
*
359359
* If "mimetype" is non-NULL, it should point to a pointer allocated
360-
* with emalloc(). If a charset is added, the string will be
360+
* with emalloc(). If a charset is added, the string will be
361361
* re-allocated and the new length is returned. If mimetype is
362362
* unchanged, 0 is returned.
363363
*
@@ -786,7 +786,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg)
786786
} else if (!strcasecmp(header_line, "Content-Length")) {
787787
/* Script is setting Content-length. The script cannot reasonably
788788
* know the size of the message body after compression, so it's best
789-
* do disable compression altogether. This contributes to making scripts
789+
* to disable compression altogether. This contributes to making scripts
790790
* portable between setups that have and don't have zlib compression
791791
* enabled globally. See req #44164 */
792792
zend_string *key = zend_string_init("zlib.output_compression", sizeof("zlib.output_compression")-1, 0);
@@ -834,7 +834,7 @@ SAPI_API int sapi_send_headers(void)
834834
return SUCCESS;
835835
}
836836

837-
/* Success-oriented. We set headers_sent to 1 here to avoid an infinite loop
837+
/* Success-oriented. We set headers_sent to 1 here to avoid an infinite loop
838838
* in case of an error situation.
839839
*/
840840
if (SG(sapi_headers).send_default_content_type && sapi_module.send_headers) {

0 commit comments

Comments
 (0)