aboutsummaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/data.c b/data.c
index 27825ad..6631b6d 100644
--- a/data.c
+++ b/data.c
@@ -41,6 +41,19 @@ int srv_open(const char *basedir, int auto_upgrade)
FILE *f;
xs_str *error = NULL;
+ months[0] = LL("Jan");
+ months[1] = LL("Feb");
+ months[2] = LL("Mar");
+ months[3] = LL("Apr");
+ months[4] = LL("May");
+ months[5] = LL("Jun");
+ months[6] = LL("Jul");
+ months[7] = LL("Aug");
+ months[8] = LL("Sep");
+ months[9] = LL("Oct");
+ months[10] = LL("Nov");
+ months[11] = LL("Dec");
+
pthread_mutex_init(&data_mutex, NULL);
srv_basedir = xs_str_new(basedir);