ftp.spin: more ip_addr fixes

This commit is contained in:
Jörg Deckert 2013-12-11 20:40:20 +01:00
parent cef5a73016
commit 07bbde82c6
1 changed files with 2 additions and 1 deletions

View File

@ -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, ".")