commit | c7129be29b3da85d09542086565b408a75478c39 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Fri Mar 15 19:46:23 2013 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Fri Mar 15 19:46:23 2013 -0500 |
tree | 6f9d794a5b3e581a965ac8d0dffc0851e212fbfa | |
parent | e48d707edc26adfaa484dec6bd7e9587d21ac2fe [diff] |
get_content_by_content_name
diff --git a/nlsr_sync.c b/nlsr_sync.c index 5f11464..c588203 100644 --- a/nlsr_sync.c +++ b/nlsr_sync.c
@@ -266,7 +266,7 @@ ccn_content_get_value(ptr_in, length_in, &pcobuf1, &ptr_in, &length_in); content_data = (unsigned char *) calloc(length_in, - sizeof(unsigned char )); + sizeof(char )); memcpy (content_data, ptr_in, length_in); ret=0; }