nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: move pseudo-toplevel methods from Object
[nit.git]
/
lib
/
libevent.nit
diff --git
a/lib/libevent.nit
b/lib/libevent.nit
index
1ce2762
..
7794ed5
100644
(file)
--- a/
lib/libevent.nit
+++ b/
lib/libevent.nit
@@
-157,7
+157,7
@@
class Connection
# Write a string to the connection
redef fun write(str)
do
- native_buffer_event.write(str.to_cstring, str.length)
+ native_buffer_event.write(str.to_cstring, str.bytelen)
end
redef fun write_byte(byte) do native_buffer_event.write_byte(byte)