Diff for /libaitmqtt/example/test.c between versions 1.2.14.2 and 1.2.14.3

version 1.2.14.2, 2016/09/14 16:17:40 version 1.2.14.3, 2022/09/15 16:46:56
Line 13  main(int argc, char **argv) Line 13  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 = 0;          register int i = 0;
   
        v = mqtt_str2subs((const char**) argv, 0, qoses);        v = mqtt_strs2subs((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_qos);
         mqtt_subFree(&v);          mqtt_subFree(&v);
   
         v = mqtt_subAlloc(10);          v = mqtt_subAlloc(10);

Removed from v.1.2.14.2  
changed lines
  Added in v.1.2.14.3


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