From 62a8599a9ae7b6351668999815e8d1db3097a111 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 Oct 2024 13:37:04 +0200 Subject: Update e-mail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/fodtmf-send.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fodtmf-send.c') diff --git a/src/fodtmf-send.c b/src/fodtmf-send.c index b841e1f..0c3709e 100644 --- a/src/fodtmf-send.c +++ b/src/fodtmf-send.c @@ -1,5 +1,5 @@ /** - * Copyright © 2015 Mattias Andrée (maandree@member.fsf.org) + * Copyright © 2015 Mattias Andrée (m@maandree.se) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -490,14 +490,14 @@ int main(int argc, char* argv[]) if (errno) perror(argv0); cleanup: - if (output_fd >= 0) - snd_pcm_close(sound_handle); /* Mark aborted transmission. */ if (rc) { send_byte_with_ecc(CHAR_CANCEL); send_byte_with_ecc(-CHAR_CANCEL); } + if (output_fd >= 0) + snd_pcm_close(sound_handle); return rc; } -- cgit v1.2.3-70-g09d2