From 1069a8895d2a89dc6283e46cb93fe24c429aadfc Mon Sep 17 00:00:00 2001 From: Francois Henrotte <francois.henrotte@ulg.ac.be> Date: Thu, 14 Mar 2013 11:13:17 +0000 Subject: [PATCH] --- Common/GmshSocket.h | 2 ++ Common/onelab.h | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Common/GmshSocket.h b/Common/GmshSocket.h index 8435237e7b..b64542f587 100644 --- a/Common/GmshSocket.h +++ b/Common/GmshSocket.h @@ -79,6 +79,8 @@ class GmshSocket{ GMSH_PARAM_QUERY_ALL = 25, GMSH_PARAM_QUERY_END = 26, GMSH_CONNECT = 27, + GMSH_OLPARSE = 28, + GMSH_PARAM_NOT_FOUND = 29, GMSH_SPEED_TEST = 30, GMSH_OPTION_1 = 100, GMSH_OPTION_2 = 101, diff --git a/Common/onelab.h b/Common/onelab.h index 2160cf9513..df96583af9 100644 --- a/Common/onelab.h +++ b/Common/onelab.h @@ -1072,10 +1072,14 @@ namespace onelab{ // do NOT return until all parameters have been downloaded } else if(type == GmshSocket::GMSH_PARAM_QUERY_END){ + // all parameters have been sent + return true; + } + else if(type == GmshSocket::GMSH_PARAM_NOT_FOUND){ + // parameter not found return true; } else if(type == GmshSocket::GMSH_INFO){ - // parameter not found or all aparameters have been sent return true; } else{ -- GitLab