summaryrefslogtreecommitdiff
path: root/recipes/rdesktop/rdesktop-1.6.0/audio-2008.patch
blob: 57052a78a40896af537950be9c1b80193302e4d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/rdpdr.c	(revisão 1505)
+++ b/rdpdr.c	(cópia de trabalho)
@@ -841,14 +841,11 @@
 RD_BOOL
 rdpdr_init()
 {
-	if (g_num_devices > 0)
-	{
-		rdpdr_channel =
-			channel_register("rdpdr",
-					 CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP,
-					 rdpdr_process);
-	}
-
+	rdpdr_channel =
+		channel_register("rdpdr",
+				 CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP,
+				 rdpdr_process);
+	
 	return (rdpdr_channel != NULL);
 }