knolleary/pubsubclient — pull request #14 by arkusuma (2012-11-23 12:17:30+00:00)
Title: Constructor & warning fix

I'm working on GPS/GPRS tracking system based on Arduino, and your MQTT library is really helpful, thanks. Here's some fix I caught on the way:

* Domain is not initilized in constructor. This will cause problem when creating PubSubClient at runtime using new. connect() wrongly detect my IP server as domain name.
* On arduino 1.0.2, publish_P() generate warnings from compiler about unused attribute, and signed & unsigned type mismatch
* PubSubClient(Client& client); doesn't seems to be useful? Because you can't set other mandatory parameters after construction (no setters, private fields).