added comment
This commit is contained in:
parent
6e57502a29
commit
ec9ee77e92
4
main.c
4
main.c
@ -13,6 +13,8 @@
|
|||||||
|
|
||||||
#define HOSTNAME "localhost"
|
#define HOSTNAME "localhost"
|
||||||
#define EVENT_SIZE (sizeof(struct inotify_event))
|
#define EVENT_SIZE (sizeof(struct inotify_event))
|
||||||
|
|
||||||
|
//debug levels
|
||||||
#define NONE 0
|
#define NONE 0
|
||||||
#define WARNING 1
|
#define WARNING 1
|
||||||
#define INFO 2
|
#define INFO 2
|
||||||
@ -46,7 +48,7 @@ struct notify_config
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct config cfg = {"","","",""};
|
struct config cfg = {"","","",""};
|
||||||
int loglevel = INFO;
|
int loglevel = DEBUG;
|
||||||
|
|
||||||
// return date in localized format
|
// return date in localized format
|
||||||
char * frtime(const time_t timet)
|
char * frtime(const time_t timet)
|
||||||
|
Reference in New Issue
Block a user