Mercurial > sci
comparison scid/page-api-todo.c @ 71:ef8f9c986080
scid: fix worker with . in their names
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 24 Jan 2023 10:04:47 +0100 |
parents | 1d0ddf9e6efd |
children | 71cd8447e3a4 |
comparison
equal
deleted
inserted
replaced
70:c84312e15b77 | 71:ef8f9c986080 |
---|---|
31 * Retrieve a list of jobs to perform for this worker name. | 31 * Retrieve a list of jobs to perform for this worker name. |
32 */ | 32 */ |
33 static void | 33 static void |
34 get(struct kreq *r) | 34 get(struct kreq *r) |
35 { | 35 { |
36 crud_list(r, db_job_todo(util_basename(r->path))); | 36 crud_list(r, db_job_todo(util_basename(r->fullpath))); |
37 } | 37 } |
38 | 38 |
39 void | 39 void |
40 page_api_v1_todo(struct kreq *r) | 40 page_api_v1_todo(struct kreq *r) |
41 { | 41 { |