diff options
author | bbergeron <[email protected]> | 2024-05-22 00:05:07 -0400 |
---|---|---|
committer | bbergeron <[email protected]> | 2024-05-22 00:19:59 -0400 |
commit | ee1615fc50542aef29ec42a8731ff690ecd1c27e (patch) | |
tree | 968176649a9dbe5d5ab4a4e722e6080c2e0336f6 /main.c | |
parent | 1694bcc9b3a12f8265cc163edb21212023e7b538 (diff) |
Remove superfluous debug message
This code wasn't meant to be commited.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -7,7 +7,6 @@ #include <string.h> #include <sys/socket.h> #include <sys/un.h> -#include <time.h> #include <unistd.h> #include "common.h" #include "daemon.h" @@ -329,9 +328,7 @@ static void close_socket(int sig) static int main_daemon (int fd, int argc, char **argv) { - time_t t; int err; - struct tm *tm_info; struct StreamerOpt opts; struct sigaction sigact; @@ -345,13 +342,6 @@ static int main_daemon (int fd, int argc, char **argv) opts.filename = "./test/stream.m3u8"; - time(&t); - tm_info = localtime(&t); - - char buffer[50]; - strftime(buffer, 50, "Daemon started at %Y-%m-%d %H:%M:%S", tm_info); - puts(buffer); - err = daemon_start(fd, &opts); unlink(socketname); free(socketname); |