[evolution-ews] another revert, don't close socket on file-descriptor
- From: Fridrich Strba <strba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] another revert, don't close socket on file-descriptor
- Date: Fri, 6 May 2011 14:24:32 +0000 (UTC)
commit c2f9e2293a862a7062a04934e92415bf7b0bc7c0
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date: Fri May 6 16:24:20 2011 +0200
another revert, don't close socket on file-descriptor
src/server/e-soap-message.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/server/e-soap-message.c b/src/server/e-soap-message.c
index da3896b..d8ad337 100644
--- a/src/server/e-soap-message.c
+++ b/src/server/e-soap-message.c
@@ -6,6 +6,7 @@
#include <libedataserver/eds-version.h>
#include <string.h>
+#include <stdio.h>
#include <libsoup/soup.h>
#include "e-soap-message.h"
@@ -63,11 +64,7 @@ finalize (GObject *object)
g_free (priv->steal_node);
g_free (priv->steal_dir);
if (priv->steal_fd != -1)
-#ifdef G_OS_WIN32
- closesocket (priv->steal_fd);
-#else
close (priv->steal_fd);
-#endif
G_OBJECT_CLASS (e_soap_message_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]