code fails from 1.05 to 1.6.5 - EthernetClient.h

In order to get Temboo to work I had to upgrade from 1.0.5 to 1.6.5. The code I have works perfectly fine in 1.0.5, but in 1.6.5 I get the following error message.

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src/Ethernet.h:7:0,
from Webserver.cpp:3:
C:\Program Files (x86)\Arduino\libraries\Ethernet\src/EthernetClient.h: In member function 'int WebServer::read()':
C:\Program Files (x86)\Arduino\libraries\Ethernet\src/EthernetClient.h:27:16: note: candidate 1: virtual bool EthernetClient::operator==(bool)
virtual bool operator==(const bool value) { return bool() == value; }
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\eeprom.h:570:0,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/USBAPI.h:25,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:225,
from Webserver.h:6,
from Webserver.cpp:1:
Webduino.h:729:19: note: candidate 2: operator==(int, int)
if (m_client == NULL)

My question is, what do I have to fix in the code in order for it to work with 1.6.5?

muldoon:
My question is, what do I have to fix in the code in order for it to work with 1.6.5?

From the error messages you showed I'd say:

Check your code if you used "boolean" in your function parameters where the library expects "bool" or the other way round.

In some versions of Arduino "boolean" and "bool" are compatible types, in other versions of Arduino they are not compatible.

You may want to update your Webduino library. There is an issue raised in their github repo, but the current code looks like that issue may have been fixed a while ago.