src/connect.c
int disconnect_from_twitserver( enum TwitClientType twitClientType, int sockfd ){
	int status = 0;
	
	assert( isTwitClientTypeValid( twitClientType ) );

	errno = 0;
	if ( safe_close( sockfd ) == -1 ){
		error( "failed to close socket: (%s)\n", strerror( errno ) );
		status = -1;
	}

	return ( status );
}
// Close connection with the twitserver. Return 0 if ok and -1 otherwise.
Close connection with the twitserver. Return 0 if ok and -1 otherwise.
Close connection with the twitserver . Return 0 if ok and - 1 otherwise .
int disconnect_from_twitserver( enum TwitClientType twitClientType, int sockfd ){
	int status = 0;
	assert( isTwitClientTypeValid( twitClientType ) );
	errno = 0;
	if ( safe_close( sockfd ) == -1 ){
		error( "failed to close socket: (%s)\n", strerror( errno ) );
		status = -1;
	}
	return ( status );
}
int disconnect_from_twitserver ( enum TwitClientType twitClientType , int sockfd ) { int status = 0 ; assert ( isTwitClientTypeValid ( twitClientType ) ) ; errno = 0 ; if ( safe_close ( sockfd ) == -1 ) { error ( " \n " , strerror ( errno ) ) ; status = -1 ; } return ( status ) ; }
Close connection with the twitserver.
Close connection with the twitserver .