style changes as suggested by @jlee-r7

bug/bundler_fix
Etienne Stalmans 2014-03-04 08:49:52 +02:00
parent 0dfa53840a
commit e452b81fb1
1 changed files with 30 additions and 30 deletions

View File

@ -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]