Changes in uspace/srv/hid/remcons/user.c [5d94b16c:178d6a3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/user.c
r5d94b16c r178d6a3 35 35 #include <stdio.h> 36 36 #include <adt/prodcons.h> 37 #include <ipc/input.h> 38 #include <ipc/console.h> 39 #include <ipc/vfs.h> 37 40 #include <errno.h> 38 41 #include <str_error.h> … … 92 95 user->locsrv_connection_count = 0; 93 96 94 user->cursor_x = 0; 95 96 return user; 97 } 98 99 void telnet_user_add(telnet_user_t *user) 100 { 97 101 98 fibril_mutex_lock(&users_guard); 102 99 list_append(&user->link, &users); 103 100 fibril_mutex_unlock(&users_guard); 101 102 user->cursor_x = 0; 103 104 return user; 104 105 } 105 106 … … 198 199 if ((recv_length == 0) || (recv_length == ENOTCONN)) { 199 200 user->socket_closed = true; 200 user->srvs.aborted = true;201 201 return ENOENT; 202 202 }
Note:
See TracChangeset
for help on using the changeset viewer.