mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2025-04-25 10:26:03 +00:00
Format code.
This commit is contained in:
parent
11a7b6653d
commit
a358ca795d
2 changed files with 21 additions and 20 deletions
|
@ -292,21 +292,21 @@ HttpServerCreate(HttpServerConfig * config)
|
|||
|
||||
if (!config)
|
||||
{
|
||||
errno = EINVAL;
|
||||
errno = EINVAL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!config->handler)
|
||||
{
|
||||
errno = EINVAL;
|
||||
errno = EINVAL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifndef TLS_IMPL
|
||||
if (config->flags & HTTP_FLAG_TLS)
|
||||
{
|
||||
Log(LOG_ERR, "TLS support is disabled.");
|
||||
errno = EINVAL;
|
||||
Log(LOG_ERR, "TLS support is disabled.");
|
||||
errno = EINVAL;
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue