Skip to content

Commit

Permalink
Disable RTP only when "no-rtp" actually exists.
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Kramer <[email protected]>
  • Loading branch information
wavexx authored and Jonas Kramer committed Sep 19, 2009
1 parent 445f77a commit f241e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.c
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ int main(int argc, char ** argv) {
enable(DISCOVERY);

/* Disable RTP if option "no-rtp" is set to something. */
if(value(& rc, "no-rtp"))
if(haskey(& rc, "no-rtp"))
disable(RTP);

/* If "daemon" is set in the configuration, enable daemon mode by default. */

0 comments on commit f241e1a

Please sign in to comment.