summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/rpc-transport.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/p11-kit/rpc-transport.c b/p11-kit/rpc-transport.c
index 13d1372..c15564e 100644
--- a/p11-kit/rpc-transport.c
+++ b/p11-kit/rpc-transport.c
@@ -835,8 +835,8 @@ p11_rpc_transport_new (p11_virtual *virt,
#ifdef OS_WIN32
p11_message ("Windows not yet supported for remote");
- return NULL;
-#endif
+ return rpc;
+#else
/* This is a command we can execute */
if (remote[0] == '|') {
@@ -851,6 +851,7 @@ p11_rpc_transport_new (p11_virtual *virt,
return_val_if_reached (NULL);
return rpc;
+#endif
}
void