Skip to content

Commit c667c64

Browse files
committed
Fix a fwe more cases where Brane's spell check failed to find all errors[1]
* serf.h: Fix spelling in comments. No functional change. [1] git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1931111 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7b1ac48 commit c667c64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

serf.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -634,16 +634,16 @@ apr_status_t serf_connection_create2(
634634
apr_pool_t *pool);
635635

636636
/**
637-
* Notification callback when an address hae been resolved.
637+
* Notification callback when an address has been resolved.
638638
*
639639
* The @a ctx and @a resolved_baton arguments are the same that were passed
640640
* to serf_address_resolve_async().
641641
*
642642
* @a status contains the result of the address resolution. If it is not
643643
* @c APR_SUCCESS, then @a host_address is invalid and should be ignored.
644644
*
645-
* The resolved @a host_address is ephemeral, allocated iun @a pool and lives
646-
* only for the duration of the callback. If ti is not consumed, it should be
645+
* The resolved @a host_address is ephemeral, allocated in @a pool and lives
646+
* only for the duration of the callback. If it is not consumed, it should be
647647
* copied to a more permanent pool, using for example apr_sockaddr_info_copy().
648648
*
649649
* All temporary allocations should be made in @a pool.
@@ -670,7 +670,7 @@ typedef void (*serf_address_resolved_t)(
670670
*
671671
* The @a resolve callback will be called during a subsequent call to
672672
* serf_context_run() or serf_context_prerun() and will receive the same
673-
* @a ctx and @a resolved_baton that are preovided here.
673+
* @a ctx and @a resolved_baton that are provided here.
674674
*
675675
* The lifetime of all function arguments except @a pool must extend until
676676
* either @a resolve is called or an error is reported.
@@ -689,7 +689,7 @@ apr_status_t serf_address_resolve_async(
689689

690690

691691
/**
692-
* Notification callback when a connection hae been created.
692+
* Notification callback when a connection has been created.
693693
*
694694
* The @a ctx and @a created_baton arguments are the same that were passed
695695
* to serf_connection_create_async().
@@ -713,7 +713,7 @@ typedef void (*serf_connection_created_t)(
713713
apr_pool_t *pool);
714714

715715
/**
716-
* Asyncchronously create a new connection associated with
716+
* Asynchronously create a new connection associated with
717717
* the @a ctx serf context.
718718
*
719719
* Like serf_connection_create2() except that address resolution is performed

0 commit comments

Comments
 (0)