]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Merge branch 'move-connection-password' of git://arthur.barton.de/ngircd-alex
authorAlexander Barton <alex@barton.de>
Sun, 26 Aug 2012 17:14:29 +0000 (19:14 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 26 Aug 2012 17:14:29 +0000 (19:14 +0200)
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.

1  2 
src/ngircd/client.c
src/ngircd/conn.c

Simple merge
Simple merge