Diff for /mqtt/example/Attic/test.c between versions 1.1.2.4 and 1.1.2.5

version 1.1.2.4, 2011/11/22 13:00:33 version 1.1.2.5, 2011/11/22 13:03:25
Line 19  main(int argc, char **argv) Line 19  main(int argc, char **argv)
         for (p = v; p->sub_data; p++)          for (p = v; p->sub_data; p++)
                 printf("msb=%hhd lsb=%hhd val=%hd %s qos=%d\n",                   printf("msb=%hhd lsb=%hhd val=%hd %s qos=%d\n", 
                                 p->sub_sb.sb.m, p->sub_sb.sb.l, p->sub_sb.val, p->sub_data, p->sub_qos);                                  p->sub_sb.sb.m, p->sub_sb.sb.l, p->sub_sb.val, p->sub_data, p->sub_qos);
        mqtt_subFree(&v, 42);        mqtt_subFree(&v);
   
         v = mqtt_subAlloc(10);          v = mqtt_subAlloc(10);
         for (p = v; p->sub_data; p++)          for (p = v; p->sub_data; p++)
                 printf("i=%d\n", i++);                  printf("i=%d\n", i++);
        mqtt_subFree(&v, 42);        mqtt_subFree(&v);
   
         return 0;          return 0;
 }  }

Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5


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