From 73b0bc4dfd253f5ec9f6b252bd95fdf761e301f7 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 16 Oct 2011 15:40:15 +0000 Subject: [PATCH] onelab --- Common/onelab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/onelab.h b/Common/onelab.h index 31f382cb15..b674981c5b 100644 --- a/Common/onelab.h +++ b/Common/onelab.h @@ -345,7 +345,7 @@ namespace onelab{ T tmp(name); typename std::set<T*, parameterLessThan>::iterator it = ps.find(&tmp); if(it != ps.end()){ - (*it)->addClient(client); + if(client.size()) (*it)->addClient(client); p.push_back(**it); } } -- GitLab