Skip to content

Commit

Permalink
Java property dk.bearware.debug to print errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bear101 committed Feb 11, 2024
1 parent f0966c9 commit d1a7747
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Library/TeamTalkJNI/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ JAVAPROP+=-Ddk.bearware.verbose=$(VERBOSE)
JAVAPROP+=-Ddk.bearware.speexdsp=$(SPEEXDSP)
JAVAPROP+=-Ddk.bearware.webrtc=$(WEBRTC)
JAVAPROP+=-Ddk.bearware.githubskip=$(GITHUBSKIP)
JAVAPROP+=-Ddk.bearware.debug=$(GITHUBDEBUG)

help:
@echo "Targets:"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ public void setUp() throws Exception {
if (prop != null && !prop.isEmpty())
this.GITHUBSKIP = Integer.parseInt(prop) != 0;

prop = System.getProperty("dk.bearware.debug");
if (prop != null && !prop.isEmpty())
this.DEBUG_OUTPUT = Integer.parseInt(prop) != 0;

if (TCPPORT == 0 && UDPPORT == 0) {
if (this.ENCRYPTED) {
TCPPORT = Constants.DEFAULT_TCP_PORT_ENCRYPTED;
Expand Down

0 comments on commit d1a7747

Please sign in to comment.