commit | 96607ec1545c78bde8e0d373d28b46bfb02e1713 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Fri Mar 15 19:53:03 2013 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Fri Mar 15 19:53:03 2013 -0500 |
tree | 6048b71191899a585d587f3cf62785751341c72e | |
parent | e831935f1e77a0fd120935fdf19fe4126b7c9fe2 [diff] [blame] |
get_content_by_content_name
diff --git a/nlsr_sync.c b/nlsr_sync.c index 1d16e73..61eadb3 100644 --- a/nlsr_sync.c +++ b/nlsr_sync.c
@@ -267,7 +267,7 @@ &ptr_in, &length_in); content_data = (unsigned char **)calloc(1,sizeof(char *)); *content_data = (unsigned char *) calloc(length_in, - sizeof(char )); + sizeof(char *)); memcpy (*content_data, ptr_in, length_in); ret=0; }