Diff for /libaitmqtt/src/aitmqtt.c between versions 1.1.1.1.2.15 and 1.1.1.1.2.16

version 1.1.1.1.2.15, 2012/06/11 08:37:41 version 1.1.1.1.2.16, 2012/06/20 08:15:13
Line 302  mqtt_sizeLen(u_int len) Line 302  mqtt_sizeLen(u_int len)
 }  }
   
 /*  /*
    * mqtt_pktLen() - Get total packet length
    *
    * @hdr = MQTT packet header
    * return: packet length
    */
   inline u_int
   mqtt_pktLen(struct mqtthdr * __restrict hdr)
   {
           int siz, n = 0;
   
           if (!hdr)
                   return 0;
   
           siz = mqtt_decodeLen(hdr->mqtt_len, &n);
           siz += sizeof(struct mqtthdr) + n - 1;
   
           return siz;
   }
   
   /*
  * mqtt_str2subs Create MQTT subscribe variable from string(s)   * mqtt_str2subs Create MQTT subscribe variable from string(s)
  *   *
  * @csStr = null terminated string array   * @csStr = null terminated string array

Removed from v.1.1.1.1.2.15  
changed lines
  Added in v.1.1.1.1.2.16


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