summaryrefslogtreecommitdiff
path: root/libstd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-12 10:46:00 -0400
committerOri Bernstein <ori@eigenstate.org>2015-06-12 10:46:00 -0400
commit58d7f56805e5e6def788c847c49b1051f164bd6c (patch)
tree31e36c2b7a3d6747dc623c243a2a69a817c76c39 /libstd
parent9930411eb53445ca7d1f1d98d85d79c646890cc2 (diff)
downloadmc-58d7f56805e5e6def788c847c49b1051f164bd6c.tar.gz
Remove debug prints.
Diffstat (limited to 'libstd')
-rw-r--r--libstd/dial+plan9.myr7
1 files changed, 0 insertions, 7 deletions
diff --git a/libstd/dial+plan9.myr b/libstd/dial+plan9.myr
index 9c0f90d..4d95f28 100644
--- a/libstd/dial+plan9.myr
+++ b/libstd/dial+plan9.myr
@@ -23,7 +23,6 @@ const dial = {str
var netdir, proto, rem
(netdir, proto, rem) = parsedial(str)
- put("net=%s, proto=%s, rem=%s\n", netdir, proto, rem)
if netdir.len != 0
-> csdial(netdir, proto, rem)
;;
@@ -31,7 +30,6 @@ const dial = {str
match csdial("/net", proto, rem)
| `Ok fd: -> `Ok fd
| `Fail m:
- put("m = %s\n", m)
-> csdial("/net.alt", proto, rem)
;;
}
@@ -57,7 +55,6 @@ const csdial = {netdir, proto, rem
slfree(dir)
csaddr = fmt("%s!%s", proto, rem)
- put("csaddr=%s\n", csaddr)
if write(csfd, csaddr) < 0
close(csfd)
-> `Fail "couldn't blah cs"
@@ -100,7 +97,6 @@ const call = {clone, addr, netdir
datafd = -1
c = nsclonestr(clone, netdir)
- put("c = %s\n", c)
cfd = open(c, Ordwr)
if cfd < 0
goto cleanup
@@ -112,7 +108,6 @@ const call = {clone, addr, netdir
;;
fput(cfd, "connect %s", addr)
name = strstrip(namebuf[:n])
- put("namebuf=%s\n", namebuf[:n])
match strrfind(c, "/")
| `None: die("there should be a '/' here\n")
| `Some i: base = c[:i]
@@ -148,7 +143,6 @@ const parsedial = {str
| `Some sep:
hd = str[:sep]
tl = str[sep+1:]
- put("hd = %s\n", hd)
if decode(hd) == '#' || decode(hd) == '/'
match strrfind(hd, "/")
| `Some idx:
@@ -161,7 +155,6 @@ const parsedial = {str
else
netdir = ""
proto = hd
- put("proto = %s\n", proto)
;;
rem = tl