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 - 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] Pass TLS certs and keys into HttpServer
[x] Debug OpenSSL [x] Debug OpenSSL
[ ] Replace all usages of curl with http [x] Replace all usages of curl with http
[ ] Proper HTTP request router [ ] Proper HTTP request router
- Support regex matching - Support regex matching
[ ] Token permissions [ ] Token permissions

View file

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

View file

@ -42,7 +42,8 @@ typedef struct OpenSSLCookie
static char * static char *
SSLErrorString(int err) SSLErrorString(int err)
{ {
switch (err) { switch (err)
{
case SSL_ERROR_NONE: case SSL_ERROR_NONE:
return "No error."; return "No error.";
case SSL_ERROR_ZERO_RETURN: case SSL_ERROR_ZERO_RETURN:

View file

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