- Cosmetic changes to sicsget and counter
- Fixed a bug when NETconnect would come back with errno EINPROGRESS which is no error really
This commit is contained in:
@@ -280,8 +280,12 @@ static void configureSICSPipe()
|
||||
static int FindTclVar(void *ms, void *userData)
|
||||
{
|
||||
pParseMessage self = (pParseMessage)ms;
|
||||
char *pPtr = NULL;
|
||||
|
||||
self->response = Tcl_GetVar(InterpGetTcl(pServ->pSics),self->command, TCL_GLOBAL_ONLY);
|
||||
pPtr = Tcl_GetVar(InterpGetTcl(pServ->pSics),self->command, TCL_GLOBAL_ONLY);
|
||||
if(pPtr != NULL){
|
||||
self->response = strdup(pPtr);
|
||||
}
|
||||
if(self->response == NULL){
|
||||
return MPSTOP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user