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
|
// local includes
|
||||||
#include "common_constants.h"
|
#include "common_constants.h"
|
||||||
|
|
||||||
void print_usage(char *name) {
|
void print_usage(const char *name) {
|
||||||
printf("Usage:\n");
|
printf("Usage:\n");
|
||||||
printf(" %s\n", name);
|
printf(" %s\n", name);
|
||||||
printf(" [--start-recording \n");
|
printf(" [--start-recording \n");
|
||||||
|
@ -143,7 +143,7 @@ int main(int argc, char **argv) {
|
||||||
// Error. TODO handle this.
|
// Error. TODO handle this.
|
||||||
return 7;
|
return 7;
|
||||||
} else {
|
} else {
|
||||||
switch(type) {
|
switch(type & UNIX_SOCKET_EVENT_MASK) {
|
||||||
case UNIX_SOCKET_EVENT_START_RECORDING:
|
case UNIX_SOCKET_EVENT_START_RECORDING:
|
||||||
puts("Sent event \"start recording\"!");
|
puts("Sent event \"start recording\"!");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue