Skip to content

Commit

Permalink
KAZOO-3689: correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp committed May 21, 2015
1 parent 4fc8bef commit 6eed900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/crossbar/src/crossbar_freeswitch.erl
Expand Up @@ -147,7 +147,7 @@ handle_cast({'delete', 'undefined'}, State) ->
handle_cast({'delete', File}, State) ->
lager:debug("removing prior freeswitch offline configuration ~s"
,[File]),
wh_util:delete(File),
wh_util:delete_file(File),
{'noreply', State};
handle_cast('reset', #state{config=Config}=State) ->
lager:debug("resetting freeswitch state"),
Expand Down
4 changes: 2 additions & 2 deletions applications/notify/src/notify_fax_util.erl
Expand Up @@ -120,10 +120,10 @@ convert_to_pdf(AttachmentBin, Props, _ContentType) ->
Cmd = io_lib:format(ConvertCmd, [PDFFile, TiffFile]),
lager:debug("running command: ~s", [Cmd]),
_ = os:cmd(Cmd),
wh_util:delete(TiffFile),
wh_util:delete_file(TiffFile),
case file:read_file(PDFFile) of
{'ok', PDFBin} ->
wh_util:delete(PDFFile),
wh_util:delete_file(PDFFile),
{<<"application/pdf">>, get_file_name(Props, "pdf"), PDFBin};
{'error', _R}=E ->
lager:debug("unable to convert tiff: ~p", [_R]),
Expand Down

0 comments on commit 6eed900

Please sign in to comment.