Skip to content
This repository has been archived by the owner on Aug 16, 2018. It is now read-only.

Commit

Permalink
Merge pull request Sensebloom#2 from TheAlphaNerd/developing
Browse files Browse the repository at this point in the history
Developing
  • Loading branch information
MylesBorins committed Jul 19, 2011
2 parents 0cf0661 + 7650bcc commit a44ea6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/OSCeleton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


char *ADDRESS = "127.0.0.1";
int PORT = 7110;
char *PORT = "7110";

#define OUTPUT_BUFFER_SIZE 1024*16
char osc_buffer[OUTPUT_BUFFER_SIZE];
Expand Down Expand Up @@ -549,6 +549,7 @@ int main(int argc, char **argv) {
usage(argv[0]);
}
port_argument = arg+1;
PORT = argv[arg+1];
break;
case 'w':
preview = true;
Expand Down Expand Up @@ -701,7 +702,7 @@ int main(int argc, char **argv) {

xnSetMirror(depth, !mirrorMode);

addr = lo_address_new(ADDRESS, argv[port_argument]);
addr = lo_address_new(ADDRESS, PORT);
signal(SIGTERM, terminate);
signal(SIGINT, terminate);

Expand Down

0 comments on commit a44ea6a

Please sign in to comment.