[pan2] small fix
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] small fix
- Date: Tue, 19 Jun 2012 21:12:20 +0000 (UTC)
commit 66040af69a162eb60823915b5474c5b97f7bdfbe
Author: Heinrich MÃller <henmull src gnome org>
Date: Tue Jun 19 23:12:01 2012 +0200
small fix
pan/tasks/socket-impl-openssl.cc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pan/tasks/socket-impl-openssl.cc b/pan/tasks/socket-impl-openssl.cc
index 97ba8d5..5a15436 100644
--- a/pan/tasks/socket-impl-openssl.cc
+++ b/pan/tasks/socket-impl-openssl.cc
@@ -374,7 +374,6 @@ namespace
static void set_blocking(gnutls_session_t& session, bool val)
{
-// int fd(-1), flags;
int fd(-1);
gnutls_transport_ptr_t tmp = gnutls_transport_get_ptr (session);
fd = GPOINTER_TO_INT (tmp);
@@ -382,7 +381,7 @@ namespace
if(fd)
{
#ifndef G_OS_WIN32
- flags = fcntl(fd, F_GETFL);
+ int flags = fcntl(fd, F_GETFL);
if (!val)
flags |= O_NONBLOCK;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]