> Could you be a little bit more specific ?
I already made the change. Now the comparison between the old host and the
new one is done through a strcmp. That is to say:
if (strcmp(_host, host)) // then the host has changed
This comparison is done in order to close the previous connection if the
host or the port have changed ... That's it.
I seem to remember that at first I made a comparison between a string and a
char *. But later this has changed and the comparison was made between 2
char pointers. It was obvious that the comparison never succeeded
(logically speaking). It was very unlikely that 2 pointers were equal ... :-)
Hope to have been clear ...
Ciao
-Gabriele
-------------------------------------------------
Gabriele Bartolini
U.O. Rete Civica - Comune di Prato
Prato - Italia - Europa
e-mail: [EMAIL PROTECTED]
http://www.po-net.prato.it
"Life teaches you never stop learning ..."
-------------------------------------------------
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.