forked from Telodendria/Telodendria
Format code.
This commit is contained in:
parent
e0c8530b12
commit
7c865d06fd
4 changed files with 5 additions and 5 deletions
2
TODO.txt
2
TODO.txt
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.";
|
||||
|
|
|
@ -300,4 +300,3 @@ UtilGetLine(char **linePtr, size_t * n, Stream * stream)
|
|||
{
|
||||
return UtilGetDelim(linePtr, n, '\n', stream);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue