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

version 1.1.2.5, 2011/11/22 13:03:25 version 1.1.2.6, 2011/11/28 13:19:38
Line 16  main(int argc, char **argv) Line 16  main(int argc, char **argv)
                 return 1;                  return 1;
   
         v = mqtt_str2sub((const char**) argv, 0, qoses);          v = mqtt_str2sub((const char**) argv, 0, qoses);
        for (p = v; p->sub_data; p++)        for (p = v; p->sub_topic._base; p++)
                printf("msb=%hhd lsb=%hhd val=%hd %s qos=%d\n",                 printf("size=%hd %s qos=%d\n", p->sub_topic._size, p->sub_topic._base, p->sub_ret);
                                p->sub_sb.sb.m, p->sub_sb.sb.l, p->sub_sb.val, p->sub_data, p->sub_qos); 
         mqtt_subFree(&v);          mqtt_subFree(&v);
   
         v = mqtt_subAlloc(10);          v = mqtt_subAlloc(10);
        for (p = v; p->sub_data; p++)        for (p = v; p->sub_topic._base; p++)
                 printf("i=%d\n", i++);                  printf("i=%d\n", i++);
         mqtt_subFree(&v);          mqtt_subFree(&v);
   

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


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