commit | 485277aa9fa666424664f008faa910d30811d48d | [log] [tgz] |
---|---|---|
author | Obaid Amin <obaidasyed@gmail.com> | Fri Sep 07 01:08:28 2012 -0400 |
committer | Obaid Amin <obaidasyed@gmail.com> | Fri Sep 07 01:08:28 2012 -0400 |
tree | 362d1ff66c941ed922b6212e2df3478628628b7d | |
parent | 03004e6c09babdca4c8b9bb20dd3d6dc9722fcd8 [diff] [blame] |
fixed segfault at exits
diff --git a/nlsr_ndn.c b/nlsr_ndn.c index f4a80cf..f05a90d 100644 --- a/nlsr_ndn.c +++ b/nlsr_ndn.c
@@ -960,6 +960,9 @@ { printf("send_lsdb_interest called \n"); + if(flags == CCN_SCHEDULE_CANCEL) + return -1; + int i, adl_element; struct ndn_neighbor *nbr;