diff options
Diffstat (limited to 'src/util/test_os_priority.c')
-rw-r--r-- | src/util/test_os_priority.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/test_os_priority.c b/src/util/test_os_priority.c index 59f3ee816..94e2719a2 100644 --- a/src/util/test_os_priority.c +++ b/src/util/test_os_priority.c | |||
@@ -32,27 +32,27 @@ testprio () | |||
32 | { | 32 | { |
33 | if (GNUNET_OK != | 33 | if (GNUNET_OK != |
34 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), | 34 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), |
35 | GNUNET_SCHEDULER_PRIORITY_DEFAULT)) | 35 | GNUNET_SCHEDULER_PRIORITY_DEFAULT)) |
36 | return 1; | 36 | return 1; |
37 | if (GNUNET_OK != | 37 | if (GNUNET_OK != |
38 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), | 38 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), |
39 | GNUNET_SCHEDULER_PRIORITY_UI)) | 39 | GNUNET_SCHEDULER_PRIORITY_UI)) |
40 | return 1; | 40 | return 1; |
41 | if (GNUNET_OK != | 41 | if (GNUNET_OK != |
42 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), | 42 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), |
43 | GNUNET_SCHEDULER_PRIORITY_IDLE)) | 43 | GNUNET_SCHEDULER_PRIORITY_IDLE)) |
44 | return 1; | 44 | return 1; |
45 | if (GNUNET_OK != | 45 | if (GNUNET_OK != |
46 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), | 46 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), |
47 | GNUNET_SCHEDULER_PRIORITY_BACKGROUND)) | 47 | GNUNET_SCHEDULER_PRIORITY_BACKGROUND)) |
48 | return 1; | 48 | return 1; |
49 | if (GNUNET_OK != | 49 | if (GNUNET_OK != |
50 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), | 50 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), |
51 | GNUNET_SCHEDULER_PRIORITY_HIGH)) | 51 | GNUNET_SCHEDULER_PRIORITY_HIGH)) |
52 | return 1; | 52 | return 1; |
53 | if (GNUNET_OK != | 53 | if (GNUNET_OK != |
54 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), | 54 | GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), |
55 | GNUNET_SCHEDULER_PRIORITY_HIGH)) | 55 | GNUNET_SCHEDULER_PRIORITY_HIGH)) |
56 | return 1; | 56 | return 1; |
57 | return 0; | 57 | return 0; |
58 | } | 58 | } |