Alexandre Julliard : server: Don' t return an error if the created window station already exists.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 2 09:59:29 CST 2016


Module: wine
Branch: master
Commit: a69d7b29e3e4c81b6baa9ca5ee063fe59877f343
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a69d7b29e3e4c81b6baa9ca5ee063fe59877f343

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Feb  2 21:46:46 2016 +0900

server: Don't return an error if the created window station already exists.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/winstation.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/winstation.c b/server/winstation.c
index 00f0e9b..9384b32 100644
--- a/server/winstation.c
+++ b/server/winstation.c
@@ -125,6 +125,7 @@ static struct winstation *create_winstation( struct directory *root, const struc
                 return NULL;
             }
         }
+        else clear_error();
     }
     return winstation;
 }




More information about the wine-cvs mailing list