Skip to content

Commit 26eccd7

Browse files
Fix docs
1 parent 9c9d1be commit 26eccd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/proxy_protocol.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void pp_info_clear(pp_info_t *pp_info);
182182
* SHOULD build a valid PROXY line i.e. usage of "UNKNOWN" style is discouraged
183183
*
184184
* pp_hdr_len Pointer to a uint16_t where the length of the create PROXY protocol header will be set
185-
* error Pointer to a uint32_t where the error value will be set
185+
* error Pointer to a int32_t where the error value will be set
186186
* ERR_NULL No error occurred
187187
* < 0 Error occurred. Optionally, pp_strerror() with that value can be used to get a descriptive message
188188
* return Pointer to a heap allocated buffer containing the PROXY protocol header. Must be freed with free()
@@ -195,7 +195,7 @@ uint8_t *pp2_create_healthcheck_hdr(uint16_t *pp2_hdr_len, int32_t *error);
195195
* 1 Create a v2 PROXY protocol header
196196
* pp_info Pointer to a filled pp_info_t structure whose information will be used for the creation of the PROXY protocol header
197197
* pp_hdr_len Pointer to a uint16_t where the length of the create PROXY protocol header will be set
198-
* error Pointer to a uint32_t where the error value will be set
198+
* error Pointer to a int32_t where the error value will be set
199199
* ERR_NULL No error occurred
200200
* < 0 Error occurred. Optionally, pp_strerror() with that value can be used to get a descriptive message
201201
* return Pointer to a heap allocated buffer containing the PROXY protocol header. Must be freed with free()

0 commit comments

Comments
 (0)