aboutsummaryrefslogtreecommitdiff
path: root/src/jlib.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2008-05-16 14:23:37 +0000
committerChristophe Romain <christophe.romain@process-one.net>2008-05-16 14:23:37 +0000
commit1035e2064d83ca4a235f729b41f961e2d01f31fa (patch)
tree2ac6b295faca6fbcf76d23c956fbba23aebd3827 /src/jlib.erl
parent* Adding experimental branch. (diff)
fixing 1324 commit issue on tagged versionsv2.0.0
SVN Revision: 1326
Diffstat (limited to 'src/jlib.erl')
-rw-r--r--src/jlib.erl9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/jlib.erl b/src/jlib.erl
index 4fd897599..1ee2e4ffa 100644
--- a/src/jlib.erl
+++ b/src/jlib.erl
@@ -59,8 +59,7 @@
now_to_local_string/1,
datetime_string_to_timestamp/1,
decode_base64/1,
- encode_base64/1,
- ip_to_list/1]).
+ encode_base64/1]).
-include("jlib.hrl").
@@ -677,9 +676,3 @@ e(X) when X>51, X<62 -> X-4;
e(62) -> $+;
e(63) -> $/;
e(X) -> exit({bad_encode_base64_token, X}).
-
-%% Convert Erlang inet IP to list
-ip_to_list({IP, _Port}) ->
- ip_to_list(IP);
-ip_to_list({A,B,C,D}) ->
- lists:flatten(io_lib:format("~w.~w.~w.~w",[A,B,C,D])).