[Groonga-commit] groonga/groonga [master] fix a typo.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 1月 10日 (月) 19:23:00 JST


Kouhei Sutou	2011-01-10 10:23:00 +0000 (Mon, 10 Jan 2011)

  New Revision: aa63ba14ea3aa8cb0813513cc050394212141838

  Log:
    fix a typo.

  Modified files:
    tools/groonga-check-memory-leak.rb

  Modified: tools/groonga-check-memory-leak.rb (+1 -1)
===================================================================
--- tools/groonga-check-memory-leak.rb    2011-01-10 10:21:36 +0000 (c5ac6c9)
+++ tools/groonga-check-memory-leak.rb    2011-01-10 10:23:00 +0000 (97d1660)
@@ -46,7 +46,7 @@ command_files.each do |path|
     file.each_line do |command|
       if options.report_progress
         i += 1
-        puts("#{i} commands done.") if (i / 1000).zero?
+        puts("#{i} commands done.") if (i % 1000).zero?
       end
       command = command.chomp
       base_name = File.basename($0, ".*")




Groonga-commit メーリングリストの案内
Back to archive index