about summary refs log tree commit diff
path: root/src/ipaddr
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-08-26 19:14:29 +0200
committerAlexander Barton <alex@barton.de>2012-08-26 19:14:29 +0200
commitbcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf (patch)
tree34fb113f4979f5a52bc9fe6956adc6768da891d3 /src/ipaddr
parent360a254be0e55e975998d0f3a5ff301ac3346f72 (diff)
parentf79d41e92741fa2f6bc6fef957d278707ad4236a (diff)
downloadngircd-bcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf.tar.gz
ngircd-bcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf.zip
Merge branch 'move-connection-password' of git://arthur.barton.de/ngircd-alex
This patch series converts the statically allocated password buffer in the
CLIENT structure into a dynamically (and only when needed) allocated buffer
which is referenced by the CONNECTION structure.

This a) saves memory for clients not using passwords at all and b) allows
for "arbitrarily" long passwords.

By Brett Smith (5) and Alexander Barton (2).

* 'move-connection-password' of git://arthur.barton.de/ngircd-alex:
  Login_User(): use "conn" insted of calling Client_Conn(Client)
  Free already saved password when storing a new one
  Indentation and style fixes.
  Connection password is not constant.
  Implementation clean-ups.
  Dynamically allocate memory for connection password.
  Move client password from the Client to the Connection struct.
Diffstat (limited to 'src/ipaddr')
0 files changed, 0 insertions, 0 deletions