--- libaitmqtt/src/aitmqtt.c 2012/02/04 10:40:01 1.1.1.1.2.2 +++ libaitmqtt/src/aitmqtt.c 2012/04/07 21:02:48 1.1.1.1.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitmqtt.c,v 1.1.1.1.2.2 2012/02/04 10:40:01 misho Exp $ +* $Id: aitmqtt.c,v 1.1.1.1.2.4 2012/04/07 21:02:48 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -53,10 +53,6 @@ char mqtt_Error[STRSIZ]; #pragma GCC visibility pop -// -// Error maintenance functions ... -// - // mqtt_GetErrno() Get error code of last operation inline int mqtt_GetErrno() @@ -85,7 +81,7 @@ mqtt_SetErr(int eno, char *estr, ...) } #pragma GCC visibility push(hidden) -// _mqtt_readHEADER() read fixed header from MQTT message +/* _mqtt_readHEADER() read fixed header from MQTT message */ inline struct mqtthdr * _mqtt_readHEADER(mqtt_msg_t * __restrict buf, u_char cmd, int *bytes, int *len) { @@ -106,7 +102,6 @@ _mqtt_readHEADER(mqtt_msg_t * __restrict buf, u_char c } #pragma GCC visibility pop -// ---------------------------------------------------------- /* * mqtt_msgFree() Free MQTT message