Diff for /embedaddon/quagga/tests/ecommunity_test.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 17:26:11 version 1.1.1.2, 2013/07/21 23:54:40
Line 25  struct test_spec  Line 25  struct test_spec 
 static struct test_segment {  static struct test_segment {
   const char *name;    const char *name;
   const char *desc;    const char *desc;
  const u_char data[1024];  const u_int8_t data[1024];
   int len;    int len;
   struct test_spec sp;    struct test_spec sp;
 } test_segments [] =   } test_segments [] = 
Line 97  validate (struct ecommunity *ecom, const struct test_s Line 97  validate (struct ecommunity *ecom, const struct test_s
               str1,                 str1, 
               (etmp && str2) ? str2 : "NULL");                (etmp && str2) ? str2 : "NULL");
     }      }
  ecommunity_free (etmp);  ecommunity_free (&etmp);
   XFREE (MTYPE_ECOMMUNITY_STR, str1);    XFREE (MTYPE_ECOMMUNITY_STR, str1);
   XFREE (MTYPE_ECOMMUNITY_STR, str2);    XFREE (MTYPE_ECOMMUNITY_STR, str2);
       
Line 122  parse_test (struct test_segment *t) Line 122  parse_test (struct test_segment *t)
     printf ("failed\n");      printf ("failed\n");
       
   printf ("\n");    printf ("\n");
  ecommunity_unintern (ecom);  ecommunity_unintern (&ecom);
 }  }
   
             

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>