Diff for /mqtt/example/Attic/cmds.c between versions 1.1.2.10 and 1.1.2.11

version 1.1.2.10, 2011/12/05 14:11:47 version 1.1.2.11, 2011/12/05 15:30:49
Line 29  main() Line 29  main()
         }          }
         printf("++> KA=%d sec, ConnID=%s User=%s Pass=%s Will_Topic=%s Will_Message=%s\n", ka,           printf("++> KA=%d sec, ConnID=%s User=%s Pass=%s Will_Topic=%s Will_Message=%s\n", ka, 
                         cid, user, pass, topic, message);                          cid, user, pass, topic, message);
         getchar();  
         printf("connack=%d/%d\n", m->msg_len, mqtt_msgCONNACK(m, 1));          printf("connack=%d/%d\n", m->msg_len, mqtt_msgCONNACK(m, 1));
         for (i = 0; i < m->msg_len; i++)          for (i = 0; i < m->msg_len; i++)
                 printf("%d\n", ((u_char*) m->msg_base)[i]);                  printf("%d\n", ((u_char*) m->msg_base)[i]);
           printf("read connack=%d\n", mqtt_readCONNACK(m));
           getchar();
   
         /* pub* */          /* pub* */
         printf("publish=%d/%d\n", m->msg_len, mqtt_msgPUBLISH(m, "AAA/bbb/CCC/ddd", 7, 0, 2, 0, "OLE!!!", 7));          printf("publish=%d/%d\n", m->msg_len, mqtt_msgPUBLISH(m, "AAA/bbb/CCC/ddd", 7, 0, 2, 0, "OLE!!!", 7));

Removed from v.1.1.2.10  
changed lines
  Added in v.1.1.2.11


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