mirror of
git://git.savannah.gnu.org/osip.git
synced 2026-01-12 00:19:45 +08:00
vxworks changes
git-svn-id: svn://svn.savannah.nongnu.org/osip/trunk/osip@73 a617929b-4c5a-41d8-b177-2eda7db2ca6c
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
libosip (0.8.8)
|
||||
* vxworks minor patches.
|
||||
* nict.c and ict.c: fix a bug with the setting of the port.
|
||||
* fsm/dialog.c: if 1xx answer does not contain the route set, update
|
||||
it when the 200 OK comes in.
|
||||
|
||||
@@ -154,7 +154,7 @@ void sthread_exit()
|
||||
sthread_t *
|
||||
sthread_create(int stacksize, sthread_t *thread, void *(*func)(void *), void *arg)
|
||||
{
|
||||
if (thread!=NULL)
|
||||
if (thread==NULL)
|
||||
thread = (sthread_t *) smalloc(sizeof(sthread_t));
|
||||
thread->id = taskSpawn(NULL,5,0,stacksize,(FUNCPTR)func,(int)arg,0,0,0,0,0,0,0,0,0);
|
||||
if (thread->id<0) sfree(thread);
|
||||
|
||||
Reference in New Issue
Block a user