mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +02:00
Code style: Fix wrong indentation
This had spaces instead of tabs by accident. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
parent
e3c4a07216
commit
408b6ae138
@ -147,12 +147,12 @@ BeesNote::get_name()
|
|||||||
// remember it. Each output message may be a different Task.
|
// remember it. Each output message may be a different Task.
|
||||||
// The current task is thread_local so we don't need to worry
|
// The current task is thread_local so we don't need to worry
|
||||||
// about it being destroyed under us.
|
// about it being destroyed under us.
|
||||||
auto current_task = Task::current_task();
|
auto current_task = Task::current_task();
|
||||||
if (current_task) {
|
if (current_task) {
|
||||||
return current_task.title();
|
return current_task.title();
|
||||||
}
|
}
|
||||||
|
|
||||||
// OK try the pthread name next.
|
// OK try the pthread name next.
|
||||||
char buf[24];
|
char buf[24];
|
||||||
memset(buf, '\0', sizeof(buf));
|
memset(buf, '\0', sizeof(buf));
|
||||||
int err = pthread_getname_np(pthread_self(), buf, sizeof(buf));
|
int err = pthread_getname_np(pthread_self(), buf, sizeof(buf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user