commit | 4c95956627e83853999c2abd3ce3bbcbc89f243d | [log] [tgz] |
---|---|---|
author | Syed Obaid Amin <obaidasyed@gmail.com> | Fri Dec 21 16:43:21 2012 -0600 |
committer | Syed Obaid Amin <obaidasyed@gmail.com> | Fri Dec 21 16:43:21 2012 -0600 |
tree | 548594f362839140c12f462f3de66bbe5570eaff | |
parent | 7a176c6234cfe13cbf3a882bdde88fb88db50e0b [diff] [blame] |
fixed many memset calls. arguments were not in right order
diff --git a/nlsr-sync-0.0/nlsr_adl.c b/nlsr-sync-0.0/nlsr_adl.c index 3b41345..aabac2a 100755 --- a/nlsr-sync-0.0/nlsr_adl.c +++ b/nlsr-sync-0.0/nlsr_adl.c
@@ -59,7 +59,7 @@ nbr->is_lsdb_send_interest_scheduled=0; nbr->ip_address=(char *)malloc(13); - memset(nbr->ip_address,13,0); + memset(nbr->ip_address,0,13); memcpy(nbr->ip_address,ip,strlen(ip)); char *time_stamp=(char *)malloc(20);