Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change int_ify/1 -> to_integer/1

  • Loading branch information...
commit 7887bc48fcf0e68b896913bfe2ad504dd08c25f3 1 parent 37b7123
Scott Lystig Fritchie authored December 28, 2010

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  src/riak_err_handler.erl
6  src/riak_err_handler.erl
@@ -339,7 +339,7 @@ sasl_limited_str(crash_report, Report, FmtMaxBytes) ->
339 339
     riak_err_stdlib:proc_lib_format(Report, FmtMaxBytes).
340 340
 
341 341
 get_int_env(Name, Default) ->
342  
-    int_ify(get_env_or_arg(Name, Default)).
  342
+    to_integer(get_env_or_arg(Name, Default)).
343 343
 
344 344
 get_env_or_arg(Name, Default) ->
345 345
     case application:get_env(riak_err, Name) of
@@ -366,9 +366,9 @@ find_in_pairs([_K, _V|Tail], Key, Default) ->
366 366
 find_in_pairs(_, _, Default) ->
367 367
     Default.
368 368
 
369  
-int_ify(X) when is_list(X) ->
  369
+to_integer(X) when is_list(X) ->
370 370
     list_to_integer(X);
371  
-int_ify(X) when is_integer(X) ->
  371
+to_integer(X) when is_integer(X) ->
372 372
     X.
373 373
 
374 374
 open_log_file(Path) ->

0 notes on commit 7887bc4

Please sign in to comment.
Something went wrong with that request. Please try again.