[Verse-dev] A bug
Samuel Siltanen
saasilta at cc.hut.fi
Wed Sep 6 08:50:39 CEST 2006
On Tue, 5 Sep 2006, Emil Brink wrote:
> A fixed version of this function is now in CVS, please try and do let me
> know if it works better.
Yes, it works better if there is a semicolon, but without it, it does not
work. Fortunatelly, I managed to localize the problem quickly. In
v_n_set_network_address () there is this line:
address->port = htons(VERSE_STD_CONNECT_TO_PORT);
which should be:
address->port = VERSE_STD_CONNECT_TO_PORT;
because otherwise the byte order is changed twice with htons ().
Samuel Siltanen
saasilta at cc.hut.fi
More information about the Verse-dev
mailing list