Changeset 6a753a9c in mainline for uspace/srv/hid/remcons/user.c


Ignore:
Timestamp:
2024-09-25T16:47:10Z (15 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
09f41d3
Parents:
d3109ff
Message:

Remcons options port, no-ctl, no-rgb, multiple instances.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/user.c

    rd3109ff r6a753a9c  
    7373        user->id = ++telnet_user_id_counter;
    7474
    75         int rc = asprintf(&user->service_name, "%s/telnet%d", NAMESPACE, user->id);
     75        int rc = asprintf(&user->service_name, "%s/telnet%u.%d", NAMESPACE,
     76            (unsigned)task_get_id(), user->id);
    7677        if (rc < 0) {
    7778                free(user);
Note: See TracChangeset for help on using the changeset viewer.