From f73c925507090ec95de2df17cfcc97f1564cfd60 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 13 May 2009 15:38:02 +0000 Subject: [PATCH] added a missing return after deletion of membio in case of fail read (error handling) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1228 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/rsserver/p3face-startup.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/rsserver/p3face-startup.cc b/libretroshare/src/rsserver/p3face-startup.cc index 4e32bd0fb..d425dee97 100644 --- a/libretroshare/src/rsserver/p3face-startup.cc +++ b/libretroshare/src/rsserver/p3face-startup.cc @@ -1408,6 +1408,7 @@ extern "C" { #endif #ifdef WINDOWS_SYS +#ifndef WIN_CROSS_UBUNTU typedef struct _CRYPTPROTECT_PROMPTSTRUCT { DWORD cbSize; @@ -1418,6 +1419,7 @@ typedef struct _CRYPTPROTECT_PROMPTSTRUCT { *PCRYPTPROTECT_PROMPTSTRUCT; #endif +#endif /* definitions for the two functions */ __declspec (dllimport)