style changes as suggested by @jlee-r7
parent
0dfa53840a
commit
e452b81fb1
|
@ -70,7 +70,7 @@ module NetAPI
|
|||
hosts = []
|
||||
mem = client.railgun.memread(start_ptr, struct_size*count)
|
||||
|
||||
0.upto(count-1) do |i|
|
||||
count.times do
|
||||
x = {}
|
||||
x[:version]= mem[(base + 0),4].unpack("V*")[0]
|
||||
nameptr = mem[(base + 4),4].unpack("V*")[0]
|
||||
|
@ -130,7 +130,7 @@ module NetAPI
|
|||
sessions = []
|
||||
mem = client.railgun.memread(start_ptr, struct_size*count)
|
||||
|
||||
0.upto(count-1) do |i|
|
||||
count.times do
|
||||
sess = {}
|
||||
cnameptr = mem[(base + 0),4].unpack("V*")[0]
|
||||
usernameptr = mem[(base + 4),4].unpack("V*")[0]
|
||||
|
|
Loading…
Reference in New Issue