aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-06 13:37:04 +0200
committerMattias Andrée <m@maandree.se>2024-10-06 13:37:04 +0200
commit62a8599a9ae7b6351668999815e8d1db3097a111 (patch)
treeb3e43d1e063c7a5fdb950ab95343c60f142daccd /src
parentfuture directions (diff)
downloadfodtmf-62a8599a9ae7b6351668999815e8d1db3097a111.tar.gz
fodtmf-62a8599a9ae7b6351668999815e8d1db3097a111.tar.bz2
fodtmf-62a8599a9ae7b6351668999815e8d1db3097a111.tar.xz
Update e-mail
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--src/common.h2
-rw-r--r--src/fodtmf-send.c6
-rw-r--r--src/goertzel.c2
-rw-r--r--src/goertzel.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/common.h b/src/common.h
index c7ec189..d2fdf1b 100644
--- a/src/common.h
+++ b/src/common.h
@@ -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
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;
}
diff --git a/src/goertzel.c b/src/goertzel.c
index d7ab641..a4174be 100644
--- a/src/goertzel.c
+++ b/src/goertzel.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
diff --git a/src/goertzel.h b/src/goertzel.h
index 385df22..98aa4f2 100644
--- a/src/goertzel.h
+++ b/src/goertzel.h
@@ -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