projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged plib
[ppastats.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
e1f17d5
..
58cb028
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-28,9
+28,9
@@
#include "cache.h"
#include "html.h"
#include "http.h"
#include "cache.h"
#include "html.h"
#include "http.h"
-#include "log.h"
#include "lp_ws.h"
#include "config.h"
#include "lp_ws.h"
#include "config.h"
+#include <plog.h>
#include "ppastats.h"
static const char *program_name;
#include "ppastats.h"
static const char *program_name;
@@
-203,6
+203,8
@@
int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
exit(EXIT_FAILURE);
}
+ log_open("ppastats.log");
+
owner = argv[optind];
ppa = argv[optind+1];
owner = argv[optind];
ppa = argv[optind+1];