]> granicus.if.org Git - neomutt/commit
move Connections declaration to conn/socket.c
authorDamien Riegel <damien.riegel@gmail.com>
Wed, 8 Nov 2017 20:25:42 +0000 (15:25 -0500)
committerRichard Russon <rich@flatcap.org>
Thu, 12 Apr 2018 08:51:56 +0000 (09:51 +0100)
commite03b7c0ebc195df0dc1f6d508c453ee2a3e24a40
tree7ebbdf1dac51a9b4d84d7024eaa8794fd32b5d12
parent943c562e3c2b825fc25a0fac5260c106c1aca8df
move Connections declaration to conn/socket.c

Functions responsible for adding and removing entries to Connections
(the Connection list) are in conn/socket.c, so it makes sense to move
it there too.

Also change mutt_conn_find to use the accessor instead of the global
variable, so it can be made static again.
conn/socket.c
conn/socket.h
mutt_socket.c
mutt_socket.h