diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c index 6fc2d06..4fe6758 100644 --- a/src/update.c +++ b/src/update.c @@ -59,7 +59,7 @@ static int dbput(DB* db, const void *k, int klen, const void*d, int dlen, int f) return 1; } -static int write_entry(struct syrep_db_context *c, const struct syrep_name *name, const struct syrep_md *md, const struct syrep_meta *meta) { +int write_entry(struct syrep_db_context *c, const struct syrep_name *name, const struct syrep_md *md, const struct syrep_meta *meta) { struct syrep_id id; struct syrep_nrecno nrecno; int f; @@ -95,7 +95,7 @@ static int write_entry(struct syrep_db_context *c, const struct syrep_name *name if ((f = dbput(c->db_nrecno_lastmd, &nrecno, sizeof(struct syrep_nrecno), md, sizeof(struct syrep_md), 0)) < 0) return -1; - //fprintf(stderr, "Insert: %s %i\n", name->path, f); + /*fprintf(stderr, "Insert: %s %i\n", name->path, f);*/ c->modified = 1; return 0; |