1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-07 16:02:55 +03:00

Fixed httplib_cry documentation

This commit is contained in:
Lammert Bies
2016-12-26 19:27:24 +01:00
parent 8118c908eb
commit ab7b063485
2 changed files with 4 additions and 3 deletions

View File

@@ -1,12 +1,13 @@
# LibHTTP API Reference
### `httplib_cry( conn, fmt, ... );`
### `httplib_cry( ctx, conn, fmt, ... );`
### Parameters
| Parameter | Type | Description |
| :--- | :--- | :--- |
|**`conn`**|`const struct httplib_connection *`|The connection on which a problem occured|
|**`ctx`**|`const struct httplib_context *`|The context where the problem occured|
|**`conn`**|`const struct httplib_connection *`|The connection on which a problem occured, or NULL for a connection independent error|
|**`fmt`**|`const char *`|Format string without a line return|
|**`...`**|*various*|Parameters depending on the format string|