MCPcopy Create free account
hub / github.com/git/git / socket_shutdown

Function socket_shutdown

imap-send.c:402–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402static void socket_shutdown(struct imap_socket *sock)
403{
404#ifndef NO_OPENSSL
405 if (sock->ssl) {
406 SSL_shutdown(sock->ssl);
407 SSL_free(sock->ssl);
408 }
409#endif
410 close(sock->fd[0]);
411 close(sock->fd[1]);
412}
413
414/* simple line buffering */
415static int buffer_gets(struct imap_buffer *b, char **s)

Callers 1

imap_close_serverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected