Format code.

This commit is contained in:
Jordan Bancino 2023-04-01 02:46:59 +00:00
parent e0c8530b12
commit 7c865d06fd
4 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ Milestone: v0.3.0
- If tls is given, it can be null, false, or an object with cert and key
[x] Pass TLS certs and keys into HttpServer
[x] Debug OpenSSL
[ ] Replace all usages of curl with http
[x] Replace all usages of curl with http
[ ] Proper HTTP request router
- Support regex matching
[ ] Token permissions

View file

@ -522,7 +522,7 @@ StreamGets(Stream * stream, char *str, int size)
}
off_t
StreamSeek(Stream *stream, off_t offset, int whence)
StreamSeek(Stream * stream, off_t offset, int whence)
{
off_t result;

View file

@ -42,8 +42,9 @@ typedef struct OpenSSLCookie
static char *
SSLErrorString(int err)
{
switch (err) {
case SSL_ERROR_NONE:
switch (err)
{
case SSL_ERROR_NONE:
return "No error.";
case SSL_ERROR_ZERO_RETURN:
return "The TLS/SSL connection has been closed.";

View file

@ -300,4 +300,3 @@ UtilGetLine(char **linePtr, size_t * n, Stream * stream)
{
return UtilGetDelim(linePtr, n, '\n', stream);
}