Commit 8501dcf7 authored by 's avatar
Browse files

fixed bug #440 for offline flows

git-svn-id: file:///home/svn/mapi/trunk@894 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 11676e58
......@@ -802,6 +802,7 @@ int mapi_create_offline_flow(const char *dev, int format)
//flow->error=0;
//flow->errstr[0]='\0';
flow->is_connected=0;
flow->numfd = 0; // initialize number of open file descriptors to zero
flist_init(flow->flist);
strcpy(flow->devtype,(char *)qbuf.data);
pthread_spin_lock(&mapi_lock);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment