Diff for /libaitmqtt/example/test.c between versions 1.1.1.1.2.1 and 1.1.1.1.2.2

version 1.1.1.1.2.1, 2012/04/26 15:26:37 version 1.1.1.1.2.2, 2012/04/26 15:38:32
Line 12  main(int argc, char **argv) Line 12  main(int argc, char **argv)
         u_char qoses[] = { 1, 0, 2, 6, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0 };          u_char qoses[] = { 1, 0, 2, 6, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0 };
         register int i;          register int i;
   
         if (argc < 2)  
                 return 1;  
   
         v = mqtt_str2subs((const char**) argv, 0, qoses);          v = mqtt_str2subs((const char**) argv, 0, qoses);
         for (p = v; p->sub_topic.msg_base; p++)          for (p = v; p->sub_topic.msg_base; p++)
                 printf("size=%hd %s qos=%d\n", p->sub_topic.msg_len, (char*) p->sub_topic.msg_base, p->sub_ret);                  printf("size=%hd %s qos=%d\n", p->sub_topic.msg_len, (char*) p->sub_topic.msg_base, p->sub_ret);

Removed from v.1.1.1.1.2.1  
changed lines
  Added in v.1.1.1.1.2.2


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