Minor fixes
All checks were successful
Create releases with ArchLinux pkg / check-and-build-and-release (push) Successful in 1s
All checks were successful
Create releases with ArchLinux pkg / check-and-build-and-release (push) Successful in 1s
This commit is contained in:
parent
2c9f3b0452
commit
6026bef0a0
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
// local includes
|
||||
#include "common_constants.h"
|
||||
|
||||
void print_usage(char *name) {
|
||||
void print_usage(const char *name) {
|
||||
printf("Usage:\n");
|
||||
printf(" %s\n", name);
|
||||
printf(" [--start-recording \n");
|
||||
|
@ -143,7 +143,7 @@ int main(int argc, char **argv) {
|
|||
// Error. TODO handle this.
|
||||
return 7;
|
||||
} else {
|
||||
switch(type) {
|
||||
switch(type & UNIX_SOCKET_EVENT_MASK) {
|
||||
case UNIX_SOCKET_EVENT_START_RECORDING:
|
||||
puts("Sent event \"start recording\"!");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue