removed not-needed names
Costa Tsaousis (ktsaou) committed
Dec 26, 2017 at 06:12 UTC
a0d391b4b13420c059f5adb43c3fd1c09f41d6ab
1 file changed
+2
-2
src/web_client.c
+2
-2
@@ -344,7 +344,7 @@ gid_t web_files_gid(void) {
344
return(owner_gid);
345
}
346
347
-static struct mime_type {
347
+static struct {
348
const char *extension;
349
uint32_t hash;
350
uint8_t contenttype;
@@ -899,7 +899,7 @@ static inline char *http_header_parse(struct web_client *w, char *s) {
899
// > 0 : request is not supported
900
// < 0 : request is incomplete - wait for more data
901
902
-typedef enum http_validation {
902
+typedef enum {
903
HTTP_VALIDATION_OK,
904
HTTP_VALIDATION_NOT_SUPPORTED,
905
HTTP_VALIDATION_INCOMPLETE