Skip to content

Commit 579bc8f

Browse files
authored
Merge pull request #305 from cuishuang/master
fix some typos
2 parents 63733af + bc272f4 commit 579bc8f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ http {
145145
}
146146
```
147147

148-
NOTE: recomending strong_dependency is configed off and the first time included file include all the servers.
148+
NOTE: recommending strong_dependency is configed off and the first time included file include all the servers.
149149

150150
Description
151151
======

src/ngx_http_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,7 @@ size_t http_parser_execute (http_parser *parser,
17981798
/* Here we call the headers_complete callback. This is somewhat
17991799
* different than other callbacks because if the user returns 1, we
18001800
* will interpret that as saying that this message has no body. This
1801-
* is needed for the annoying case of recieving a response to a HEAD
1801+
* is needed for the annoying case of receiving a response to a HEAD
18021802
* request.
18031803
*
18041804
* We'd like to use CALLBACK_NOTIFY_NOADVANCE() here but we cannot, so

test/t/lib/Time/Zone.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ C<tz2zone()> parses the TZ environment variable and returns a timezone
2323
string suitable for inclusion in L<date>-like output. It opionally takes
2424
a timezone string, a time, and a is-dst flag.
2525
26-
C<tz_local_offset()> determins the offset from GMT time in seconds. It
26+
C<tz_local_offset()> determines the offset from GMT time in seconds. It
2727
only does the calculation once.
2828
2929
C<tz_offset()> determines the offset from GMT in seconds of a specified
@@ -131,7 +131,7 @@ sub calc_off
131131
} elsif ($l[7] == $g[7] - 1) {
132132
$off -= 86400;
133133
} elsif ($l[7] < $g[7]) {
134-
# crossed over a year boundry!
134+
# crossed over a year boundary!
135135
# localtime is beginning of year, gmt is end
136136
# therefore local is ahead
137137
$off += 86400;

0 commit comments

Comments
 (0)