summaryrefslogtreecommitdiff
path: root/frontends/kolibrios/loadhttp.asm
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-05-11 17:14:01 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-10-25 22:04:54 +0200
commit13550e9e3e09273278950435abb392781a98bb06 (patch)
tree084f65cb4c2376d5ce5874a4b2571d691a976197 /frontends/kolibrios/loadhttp.asm
parent7aaf1dc18d5648ad381efad64facc7282df39e3c (diff)
downloadnetsurf-13550e9e3e09273278950435abb392781a98bb06.tar.gz
netsurf-13550e9e3e09273278950435abb392781a98bb06.tar.bz2
Tidy up some things.
Diffstat (limited to 'frontends/kolibrios/loadhttp.asm')
-rw-r--r--frontends/kolibrios/loadhttp.asm19
1 files changed, 8 insertions, 11 deletions
diff --git a/frontends/kolibrios/loadhttp.asm b/frontends/kolibrios/loadhttp.asm
index 859f56db1..3aa7b27a1 100644
--- a/frontends/kolibrios/loadhttp.asm
+++ b/frontends/kolibrios/loadhttp.asm
@@ -21,27 +21,24 @@ public init_network as '_init_network_asm'
;;; Returns 0 on success. -1 on failure.
proc init_network
-
- mcall 68,11
-
stdcall dll.Load, @IMPORT
- test eax, eax
- jnz error
+ test eax, eax
+ jnz error
mov eax, 0
ret
-
-error:
+
+error:
mov eax, -1
ret
-endp
-
+endp
+
@IMPORT:
library lib_http, 'http.obj'
import lib_http, \
- HTTP_get , 'get' , \
+ HTTP_get , 'get' , \
HTTP_head , 'head' , \
HTTP_post , 'post' , \
HTTP_find_header_field , 'find_header_field' , \
@@ -51,7 +48,7 @@ import lib_http, \
HTTP_free , 'free' , \
HTTP_escape , 'escape' , \
HTTP_unescape , 'unescape'
-
+
public HTTP_get as '_http_get_asm'
public HTTP_head as '_http_head_asm'
public HTTP_post as '_http_post_asm'