From: Alexander Barton Date: Sun, 26 Aug 2012 17:14:29 +0000 (+0200) Subject: Merge branch 'move-connection-password' of git://arthur.barton.de/ngircd-alex X-Git-Tag: rel-20-rc1~104 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=bcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf;hp=bcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf 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. ---