Diff for /mqtt/src/Attic/mqtt.c between versions 1.1.1.1.2.1 and 1.1.1.1.2.3

version 1.1.1.1.2.1, 2011/11/18 17:23:59 version 1.1.1.1.2.3, 2011/11/21 12:47:15
Line 7  main(int argc, char **argv) Line 7  main(int argc, char **argv)
         mqtt_msg_t *m;          mqtt_msg_t *m;
         int i;          int i;
   
        m = mqtt_msgAlloc(14);        m = mqtt_msgAlloc(0);
        printf("connect=%d/%d\n", m->msg_len, mqtt_msgCONNECT(m));        printf("connect=%d/%d\n", m->msg_len, mqtt_msgCONNECT(m, "MRYN", "aaaaa", NULL, "bbb", NULL, 0, 0, 0));
         for (i = 0; i < m->msg_len; i++)
                 printf("%d\n", ((u_char*) m->msg_base)[i]);
         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]);
         mqtt_msgFree(&m, 42);          mqtt_msgFree(&m, 42);

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


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