commit | b903ded8a5b304f3b04f0617731d7edf8a51ac24 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Tue Aug 21 12:56:28 2012 -0400 |
committer | akmhoque <akmhoque@gmail.com> | Tue Aug 21 12:56:28 2012 -0400 |
tree | 37fb292fa432608bc4d8c433ea3e764d7ddaba32 | |
parent | e7c4b6d5826150f833a3afb058e96c9eee92644e [diff] [blame] |
update
diff --git a/nlsr_adl.c b/nlsr_adl.c index c23d87c..1be3fc2 100644 --- a/nlsr_adl.c +++ b/nlsr_adl.c
@@ -109,6 +109,10 @@ nnbr=e->data; nnbr->status=status; } + else if(res == HT_NEW_ENTRY) + { + hashtb_delete(e); + } hashtb_end(e); } @@ -133,5 +137,10 @@ nnbr=e->data; memcpy(nnbr->last_lsdb_version,version,strlen(version)+1); } + else if(res == HT_NEW_ENTRY) + { + hashtb_delete(e); + } + hashtb_end(e); }