unix socket perms; strtol() error handling

This commit is contained in:
Devaev Maxim
2018-12-06 21:55:28 +03:00
parent 0e0e3939b2
commit 9dddd0075e
3 changed files with 33 additions and 15 deletions

View File

@@ -21,6 +21,8 @@
#include <stdbool.h>
#include <sys/stat.h>
#include <event2/event.h>
#include <event2/http.h>
#include <event2/util.h>
@@ -80,6 +82,7 @@ struct http_server_t {
unsigned port;
char *unix_path;
bool unix_rm;
mode_t unix_mode;
unsigned drop_same_frames;
unsigned fake_width;
unsigned fake_height;