projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a339f2
)
"out of memory" bug fix
author
Bart De Schuymer
<bdschuym@pandora.be>
Wed, 27 Aug 2003 16:59:39 +0000
(16:59 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Wed, 27 Aug 2003 16:59:39 +0000
(16:59 +0000)
communication.c
patch
|
blob
|
history
diff --git
a/communication.c
b/communication.c
index
d4b1c4d
..
4d02b05
100644
(file)
--- a/
communication.c
+++ b/
communication.c
@@
-623,9
+623,9
@@
static void retrieve_from_file(char *filename, struct ebt_replace *repl,
if (repl->nentries) {
counters = (struct ebt_counter *)
malloc(repl->nentries * sizeof(struct ebt_counter));
+ repl->counters = sparc_cast counters;
if (!repl->counters)
print_memory();
- repl->counters = sparc_cast counters;
} else
repl->counters = sparc_cast NULL;
/* copy entries and counters */