Skip to content

Commit

Permalink
mispelling
Browse files Browse the repository at this point in the history
  • Loading branch information
pianist committed Nov 14, 2024
1 parent 6c9dc2a commit 27dae26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bewagramd/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static void timeout_cb(struct ev_loop *loop, ev_timer* w, int revents)

int main(int argc, char** argv)
{
int no_deamon_mode = 0;
int no_daemon_mode = 0;
int cfg_default = 1;

if (argc > 1)
Expand All @@ -76,7 +76,7 @@ int main(int argc, char** argv)

if (!strcmp(argv[1], "--no-daemon"))
{
no_deamon_mode = 1;
no_daemon_mode = 1;
if (argc > 2) cfg_default = 0;
}

Expand All @@ -92,7 +92,7 @@ int main(int argc, char** argv)
return ret;
}

if (!no_deamon_mode)
if (!no_daemon_mode)
{
char buf[128];
snprintf(buf, 128, "/tmp/bewagramd.log");
Expand Down

0 comments on commit 27dae26

Please sign in to comment.