projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e6e0b
)
server: proxy: filters: demo: log instead of dropping the connection
author
kubistika
<kmizrachi18@gmail.com>
Sat, 3 Aug 2019 13:45:24 +0000
(16:45 +0300)
committer
kubistika
<kmizrachi18@gmail.com>
Mon, 5 Aug 2019 08:01:31 +0000
(11:01 +0300)
server/proxy/filters/filter_demo.c
patch
|
blob
|
history
diff --git
a/server/proxy/filters/filter_demo.c
b/server/proxy/filters/filter_demo.c
index
55255f2
..
e2018ad
100644
(file)
--- a/
server/proxy/filters/filter_demo.c
+++ b/
server/proxy/filters/filter_demo.c
@@
-17,6
+17,8
@@
* limitations under the License.
*/
+#include <stdio.h>
+
#include "filters_api.h"
static PF_FILTER_RESULT demo_filter_keyboard_event(connectionInfo* info, void* param)
@@
-33,7
+35,8
@@
static PF_FILTER_RESULT demo_filter_mouse_event(connectionInfo* info, void* para
if (event_data->x % 100 == 0)
{
- return FILTER_DROP;
+ printf("filter_demo: mouse x is currently %"PRIu16"\n", event_data->x);
+ return FILTER_PASS;
}
return FILTER_PASS;