--- mqtt/src/pubmqtt.c 2012/07/03 12:46:01 1.4 +++ mqtt/src/pubmqtt.c 2017/10/08 22:49:25 1.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: pubmqtt.c,v 1.4 2012/07/03 12:46:01 misho Exp $ +* $Id: pubmqtt.c,v 1.5 2017/10/08 22:49:25 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, 2012 +Copyright 2004 - 2017 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -144,7 +144,7 @@ mqtt_rtlm_close(sqlite3 *sql) */ int mqtt_rtlm_init_session(cfg_root_t *cfg, sqlite3 *sql, const char *connid, const char *user, - const char *host, char will, ...) + const char *host, int will, ...) { va_list lst; int ret = 0;