Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Blame | Last modification | View Log | RSS feed

--- prayer-1.0.18.orig/prayer/prayer_main.c
+++ prayer-1.0.18/prayer/prayer_main.c
@@ -111,7 +111,7 @@
 
 static BOOL prayer_main_write_pid(struct config *config)
 {
-    char *name = pool_printf(NIL, "%s/prayer", config->pid_dir);
+    char *name = pool_printf(NIL, "%s/prayer.pid", config->pid_dir);
     FILE *file;
 
     if ((file = fopen(name, "w")) == NIL)
--- prayer-1.0.18.orig/prayer/session_main.c
+++ prayer-1.0.18/prayer/session_main.c
@@ -32,7 +32,7 @@
 
 static BOOL session_main_write_pid(struct config *config)
 {
-    char *name = pool_printf(NIL, "%s/prayer-session", config->pid_dir);
+    char *name = pool_printf(NIL, "%s/prayer-session.pid", config->pid_dir);
     FILE *file;
 
     if ((file = fopen(name, "w")) == NIL)