From ee19c493bdd848c8352c9ed17871039786b7b374 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 2 Jul 2007 23:13:17 +0200 Subject: [PATCH] Open-data parts are numbered with two-digit numbers. --- submit/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submit/tasks.c b/submit/tasks.c index e60b40c..f0e9333 100644 --- a/submit/tasks.c +++ b/submit/tasks.c @@ -34,7 +34,7 @@ tasks_conf_commit(void *p UNUSED) if (t->open_data) { for (uns i=1; i<=t->open_data; i++) - simp_append(cf_pool, &t->parts)->s = mp_printf(cf_pool, "%d", i); + simp_append(cf_pool, &t->parts)->s = mp_printf(cf_pool, "%02d", i); t->extensions = &open_data_extensions; } else -- 2.39.2