Make the RANDOM_LOCAL_PORTS setting actually use a random port.

The code was calling random_number(65535 - 1024), but a non-zero argument
to random_number() is actually a seed to reseed the generator, and causes
random_number() to return zero.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@331 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-08-15 15:06:21 +00:00
parent 176be1cff2
commit 0b0dbf5cf7
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2c01]
* Make RANDOM_LOCAL_PORTS actually random. (caf)
* Show same message on local terminal as used in emergency exit QUIT. (caf)
* Remove unused XLINK CTCP reply handler. (caf)