Skip to content

Commit bc6546e

Browse files
committed
osiSockAttach()
1 parent 30ac2cf commit bc6546e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

client/castApp/src/castinit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ static void addReccasterEnvVarsCallFunc(const iocshArgBuf *args)
202202

203203
static void reccasterRegistrar(void)
204204
{
205+
osiSockAttach();
205206
initHookRegister(&casthook);
206207
casterInit(&thecaster);
207208
thepriv.lock = epicsMutexMustCreate();

client/castApp/src/testAddEnvVars.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ static void testAddEnvVarsBadInput(void)
159159
MAIN(testAddEnvVars)
160160
{
161161
testPlan(48);
162+
osiSockAttach();
162163
testAddEnvVarsX();
163164
testAddEnvVarsBadInput();
165+
osiSockRelease();
164166
return testDone();
165167
}

0 commit comments

Comments
 (0)