diff options
author | Max Kellermann <max@duempel.org> | 2011-07-20 21:20:23 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-07-20 21:20:23 +0200 |
commit | 57936a13741c09fa54a33a53ed05ac0d996e4807 (patch) | |
tree | 7eb6339f704dcbb59df1a771eece48479fa9c7e3 /src | |
parent | 9242fde6b830bc9ad6978bc26ffd1f57c31ddeea (diff) | |
download | mpd-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.c | 2 |
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(); |