Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
2b637217
Commit
2b637217
authored
Aug 15, 2006
by
Arne Øslebø
Browse files
bugfix
git-svn-id:
file:///home/svn/mapi/trunk@796
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
4e5e6fb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/drivers/mapidlib.c
View file @
2b637217
...
...
@@ -437,11 +437,9 @@ mapid_connect(mapidlib_instance_t *i,int fd)
#endif
flow
->
status
=
FLOW_ACTIVE
;
//Update global function list
//Update global function list
((
mapid_flow_info_t
*
)
flist_get
(
flow
->
hwinfo
->
gflist
->
fflist
,
flow
->
fd
))
->
status
=
FLOW_ACTIVE
;
time
(
&
flow
->
start
);
return
0
;
...
...
@@ -1035,7 +1033,6 @@ void mapid_process_pkt(mapidlib_instance_t *i,
#ifdef WITH_PRIORITIES
int
j
=
0
;
for
(
j
=
0
;
j
<
PRIORITIES
;
j
++
)
{
n
=
flist_head
(
i
->
flowlist
[
j
]);
...
...
@@ -1046,11 +1043,12 @@ void mapid_process_pkt(mapidlib_instance_t *i,
// a color var to help trackers from continunsly searching application
// strings
color
=
0
;
while
(
n
)
{
flow
=
flist_data
(
n
);
n
=
flist_next
(
n
);
if
(
flow
->
status
==
FLOW_ACTIVE
)
{
#ifdef WITH_MODIFY_PKTS
if
(
flow
->
modifies
==
1
)
{
...
...
@@ -1089,11 +1087,8 @@ void mapid_process_pkt(mapidlib_instance_t *i,
}
n2
=
flist_next
(
n2
);
}
n
=
flist_next
(
n
);
}
else
if
(
flow
->
delete
==
1
)
{
n
=
flist_next
(
n
);
delete_flow
(
i
,
flow
);
}
}
else
if
(
flow
->
delete
==
1
)
delete_flow
(
i
,
flow
);
}
#ifdef WITH_PRIORITIES
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment