This commit is contained in:
Wolfgang Hottgenroth 2011-01-20 15:30:35 +01:00
parent dc5cd6030b
commit 08fc3d99a5
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
CC=/opt/local/cross/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc
LD=/opt/local/cross/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-ld
CC?=gcc
CFLAGS=-g

View File

@ -6,7 +6,7 @@
<string>net.yadynns.client.d</string>
<key>ProgramArguments</key>
<array>
<string>/opt/hottis/bin/yadynd</string>
<string>/usr/local/bin/yadynd</string>
<string>dynid</string> <!-- DYN_ID -->
<string>geheim</string> <!-- SHARED_SECRET -->
</array>

View File

@ -6,7 +6,7 @@ import std.md5;
int main(char[][] args) {
if (args.length != 3) {
if (args.length != 4) {
printf("illegal arguments\n");
return 1;
}
@ -14,7 +14,7 @@ int main(char[][] args) {
char[] DYN_ID = args[1];
char[] SHARED_SECRET = args[2];
const char[] SERVER_IP = "88.198.170.2";
char[] SERVER_IP = args[3];
const int SERVER_PORT = 8053;