Skip to content
Snippets Groups Projects
Commit 1b9d6ee7 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

use macro instead of hardcoding

parent 69f24c1e
No related branches found
No related tags found
No related merge requests found
...@@ -479,16 +479,16 @@ void parse_compute_resolve(unsigned int idx, resolve_service_t *ares, unsigned i ...@@ -479,16 +479,16 @@ void parse_compute_resolve(unsigned int idx, resolve_service_t *ares, unsigned i
* /run/66/state/uid/service_name/event * /run/66/state/uid/service_name/event
* /run/66/state/uid/service_name/supervise * /run/66/state/uid/service_name/supervise
* */ * */
res->live.statedir = compute_state_dir(wres, info, "state") ; res->live.statedir = compute_state_dir(wres, info, SS_STATE + 1) ;
/* event */ /* event */
res->live.eventdir = compute_state_dir(wres, info, "event") ; res->live.eventdir = compute_state_dir(wres, info, SS_EVENTDIR + 1) ;
/* notif */ /* notif */
res->live.notifdir = compute_state_dir(wres, info, "notif") ; res->live.notifdir = compute_state_dir(wres, info, "notif") ;
/* supervise */ /* supervise */
res->live.supervisedir = compute_state_dir(wres, info, "supervise") ; res->live.supervisedir = compute_state_dir(wres, info, SS_SUPERVISEDIR + 1) ;
/* fdholder */ /* fdholder */
res->live.fdholderdir = compute_pipe_service(wres, info, name, SS_FDHOLDER) ; res->live.fdholderdir = compute_pipe_service(wres, info, name, SS_FDHOLDER) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment