MCPcopy Index your code
hub / github.com/git/git / imap_close_server

Function imap_close_server

imap-send.c:850–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850static void imap_close_server(struct imap_store *ictx)
851{
852 struct imap *imap = ictx->imap;
853
854 if (imap->buf.sock.fd[0] != -1) {
855 imap_exec(ictx, NULL, "LOGOUT");
856 socket_shutdown(&imap->buf.sock);
857 }
858 free(imap);
859}
860
861static void imap_close_store(struct imap_store *ctx)
862{

Callers 1

imap_close_storeFunction · 0.85

Calls 2

imap_execFunction · 0.85
socket_shutdownFunction · 0.85

Tested by

no test coverage detected