diff options
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -260,7 +260,7 @@ char *xstrdupn(const char *str) | |||
| 260 | 260 | ||
| 261 | static void prepare_context(struct cgit_context *ctx) | 261 | static void prepare_context(struct cgit_context *ctx) | 
| 262 | { | 262 | { | 
| 263 | memset(ctx, 0, sizeof(ctx)); | 263 | memset(ctx, 0, sizeof(*ctx)); | 
| 264 | ctx->cfg.agefile = "info/web/last-modified"; | 264 | ctx->cfg.agefile = "info/web/last-modified"; | 
| 265 | ctx->cfg.nocache = 0; | 265 | ctx->cfg.nocache = 0; | 
| 266 | ctx->cfg.cache_size = 0; | 266 | ctx->cfg.cache_size = 0; | 
