Changes in uspace/srv/hid/remcons/user.c [178d6a3:5d94b16c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/user.c
r178d6a3 r5d94b16c 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>40 37 #include <errno.h> 41 38 #include <str_error.h> … … 95 92 user->locsrv_connection_count = 0; 96 93 97 94 user->cursor_x = 0; 95 96 return user; 97 } 98 99 void telnet_user_add(telnet_user_t *user) 100 { 98 101 fibril_mutex_lock(&users_guard); 99 102 list_append(&user->link, &users); 100 103 fibril_mutex_unlock(&users_guard); 101 102 user->cursor_x = 0;103 104 return user;105 104 } 106 105 … … 199 198 if ((recv_length == 0) || (recv_length == ENOTCONN)) { 200 199 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.