commit | 54309a2eb2db40a7df91d2d7b0c8c3fcaea61760 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Fri Feb 22 15:38:25 2013 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Fri Feb 22 15:38:25 2013 -0600 |
tree | 4d41535c7976a1acc5f44f6a178386a969e5a9c2 | |
parent | 0ed6d98bf2bb1c7a34a06856f87337e0fd80b0d2 [diff] [blame] |
Cleaning NPT
diff --git a/nlsr_sync.c b/nlsr_sync.c index 672341a..548890e 100644 --- a/nlsr_sync.c +++ b/nlsr_sync.c
@@ -642,12 +642,13 @@ if (blockread > 0) { res = ccn_seqw_write(w, data, blockread); while (res == -1) { + ccn_run(temp_ccn,1); res = ccn_seqw_write(w, data, blockread); } } - ccn_seqw_close(w); - ccn_run(temp_ccn, 100); + + ccn_run(temp_ccn, 1); ccn_charbuf_destroy(&name); ccn_destroy(&temp_ccn);