Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | magnus | 1 | --- prayer-1.0.18.orig/prayer/prayer_main.c |
2 | +++ prayer-1.0.18/prayer/prayer_main.c |
||
3 | @@ -111,7 +111,7 @@ |
||
4 | |||
5 | static BOOL prayer_main_write_pid(struct config *config) |
||
6 | { |
||
7 | - char *name = pool_printf(NIL, "%s/prayer", config->pid_dir); |
||
8 | + char *name = pool_printf(NIL, "%s/prayer.pid", config->pid_dir); |
||
9 | FILE *file; |
||
10 | |||
11 | if ((file = fopen(name, "w")) == NIL) |
||
12 | --- prayer-1.0.18.orig/prayer/session_main.c |
||
13 | +++ prayer-1.0.18/prayer/session_main.c |
||
14 | @@ -32,7 +32,7 @@ |
||
15 | |||
16 | static BOOL session_main_write_pid(struct config *config) |
||
17 | { |
||
18 | - char *name = pool_printf(NIL, "%s/prayer-session", config->pid_dir); |
||
19 | + char *name = pool_printf(NIL, "%s/prayer-session.pid", config->pid_dir); |
||
20 | FILE *file; |
||
21 | |||
22 | if ((file = fopen(name, "w")) == NIL) |