summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-10-10 18:08:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-13 17:57:23 +0200
commit810d47c823ccac01888f3e64e1dcdd247ef92986 (patch)
tree1e6a927f1e6ad10005cf2804c5685629f0ed3329 /console-client
parent9be362ab7efc6ad27a678e00f9b0b35a24993aa1 (diff)
console-client: fix error handling
Fix the error handling in console_move_mouse. This also appeases the compiler. * console-client/console.c (console_move_mouse): Fix error handing.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/console-client/console.c b/console-client/console.c
index a9f8368b..a4fb8e97 100644
--- a/console-client/console.c
+++ b/console-client/console.c
@@ -181,6 +181,7 @@ console_move_mouse (mouse_event_t ev)
{
err = cons_vcons_move_mouse (vcons, ev);
ports_port_deref (vcons);
+ return err;
}
return 0;