aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-07-20 21:20:23 +0200
committerMax Kellermann <max@duempel.org>2011-07-20 21:20:23 +0200
commit57936a13741c09fa54a33a53ed05ac0d996e4807 (patch)
tree7eb6339f704dcbb59df1a771eece48479fa9c7e3 /src/output
parent9242fde6b830bc9ad6978bc26ffd1f57c31ddeea (diff)
downloadmpd-57936a13741c09fa54a33a53ed05ac0d996e4807.tar.gz
mpd-57936a13741c09fa54a33a53ed05ac0d996e4807.tar.xz
mpd-57936a13741c09fa54a33a53ed05ac0d996e4807.zip
output/raop: use memset() instead of bzero()
There's no bzero() on WIN32.
Diffstat (limited to '')
-rw-r--r--src/output/raop_output_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index 69b73cacb..b46633dfd 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -90,7 +90,7 @@ new_raop_data(void)
AES_set_encrypt_key(raop_session->encrypt.key, 128, &raop_session->encrypt.ctx);
raop_session->data_fd = -1;
- bzero(raop_session->buffer, RAOP_BUFFER_SIZE);
+ memset(raop_session->buffer, 0, RAOP_BUFFER_SIZE);
raop_session->bufferSize = 0;
raop_session->data_mutex = g_mutex_new();