aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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