Changeset 3134
- Timestamp:
- Aug 8, 2012 9:42:36 AM (10 months ago)
- File:
-
- 1 edited
-
cpu/x86/pc/olpc/oatstime.fth (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/x86/pc/olpc/oatstime.fth
r3016 r3134 4 4 \ Set this to the name or IP address of the deployment's OATS server 5 5 : server$ " 192.168.200.57" ; \ DNS name or IP address 6 7 \ Set this to the HTTP/1.1 name-based virtual host name of the OATS server 8 : host$ " antitheft.laptop.org" ; 6 9 7 10 \ Replace this key with a deployment-specific one … … 307 310 d# 80 " connect" $call-http 0= abort" Can't connect to server" 308 311 " POST /antitheft/1/ HTTP/1.1" http-write-line 309 " Host: antitheft.laptop.org"http-write-line312 host$ " Host: %s" sprintf http-write-line 310 313 " Content-Type: application/x-www-form-urlencoded" http-write-line 311 314 dup " Content-Length: %d" sprintf http-write-line ( msg$ ) … … 342 345 d# 0 d# 59 numfield >r ( rem$ r: y m d h m s ) 343 346 344 1 cut$ " Z" $= 0= abort" Expecting Tin time" ( rem$ r: y m d h m s )347 1 cut$ " Z" $= 0= abort" Expecting Z in time" ( rem$ r: y m d h m s ) 345 348 0<> abort" Junk after time" drop ( r: y m d h m s ) 346 349 r> r> r> r> r> r>
Note: See TracChangeset
for help on using the changeset viewer.
