From 07bbde82c6527f6c1a8afac112ee99bea2366b42 Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Wed, 11 Dec 2013 20:40:20 +0100 Subject: [PATCH] ftp.spin: more ip_addr fixes --- system/regnatix/ftp.spin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/regnatix/ftp.spin b/system/regnatix/ftp.spin index 3392598..d453fde 100644 --- a/system/regnatix/ftp.spin +++ b/system/regnatix/ftp.spin @@ -50,6 +50,8 @@ byte handle_data 'Handle FTP Data Verbindung PUB main + ip_addr := 0 + ios.start 'ios initialisieren ios.printnl ios.parastart 'parameterübergabe starten @@ -74,7 +76,6 @@ PUB main PRI setaddr (ipaddr) | pos, count 'IP-Adresse in Variable schreiben - ip_addr := 0 count := 3 repeat while ipaddr pos := str.findCharacter(ipaddr, ".")