/* Get maximum possible buffer size. */
buffer_size = gnutls_record_get_max_size(client_session);
- LOG(LOG_DEBUG, "transfer_data_tls(): suggested buffer size: %ld",
- (long int)buffer_size);
if (buffer_size > gnutls_record_get_max_size(server_session)) {
buffer_size = gnutls_record_get_max_size(server_session);
}
+ LOG(LOG_DEBUG, "transfer_data_tls(): suggested buffer size: %ld",
+ (long int)buffer_size);
for (;;) {
int result = poll(fds, 2, -1 /* no timeout */);