Mercurial > dovecot > core-2.2
comparison src/director/director-connection.c @ 18858:8bde19f080ad
director: explicitly mark _disconnect() helper static to match proto
No functional change, compiler would not have exported the symbol, this
just shuts up sparse.
Signed-off-by: Phil Carmody <phil@dovecot.fi>
author | Phil Carmody <phil@dovecot.fi> |
---|---|
date | Mon, 15 Jun 2015 14:54:58 +0300 |
parents | 0ee3e734249a |
children | aabfe48db1cf |
comparison
equal
deleted
inserted
replaced
18857:bd1dabfcfae3 | 18858:8bde19f080ad |
---|---|
1866 dir->sync_seq++; | 1866 dir->sync_seq++; |
1867 director_set_ring_unsynced(dir); | 1867 director_set_ring_unsynced(dir); |
1868 } | 1868 } |
1869 } | 1869 } |
1870 | 1870 |
1871 void director_connection_disconnected(struct director_connection **_conn, | 1871 static void director_connection_disconnected(struct director_connection **_conn, |
1872 const char *reason) | 1872 const char *reason) |
1873 { | 1873 { |
1874 struct director_connection *conn = *_conn; | 1874 struct director_connection *conn = *_conn; |
1875 struct director *dir = conn->dir; | 1875 struct director *dir = conn->dir; |
1876 | 1876 |
1877 if (conn->created + DIRECTOR_SUCCESS_MIN_CONNECT_SECS > ioloop_time && | 1877 if (conn->created + DIRECTOR_SUCCESS_MIN_CONNECT_SECS > ioloop_time && |