From 6b2f53aee4e9c2b946706aab1d5c19459b6ff268 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Sat, 10 Sep 2016 17:29:50 +0200
Subject: [PATCH] =?UTF-8?q?process=20:=20retour=20=C3=A0=20la=20version=20?=
=?UTF-8?q?correcte?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lib/process.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/lib/process.c b/lib/process.c
index 426cd73..307405b 100644
--- a/lib/process.c
+++ b/lib/process.c
@@ -29,20 +29,6 @@ void srv_process_gen (struct process *p
snprintf(p->path_in , PATH_MAX, "%s%d-%d-in" , TMPDIR, pid, index);
snprintf(p->path_out, PATH_MAX, "%s%d-%d-out", TMPDIR, pid, index);
- //printf("path-in : %s\n", p->path_in );
- //printf("path-out : %s\n", p->path_out );
-
- p->in = NULL;
- p->out = NULL;
-}
-
-void srv_process_free (struct process * p)
-{
- // TODO nothing to do now
-
- snprintf(p->path_in , PATH_MAX, "%s/%d-%d-in" , TMPDIR, pid, index);
- snprintf(p->path_out, PATH_MAX, "%s/%d-%d-out", TMPDIR, pid, index);
-
}
void srv_process_print (struct process *p)