diff --git a/src/raop.c b/src/raop.c index 6f79d1d9..ccce0b45 100644 --- a/src/raop.c +++ b/src/raop.c @@ -1711,7 +1711,7 @@ raop_set_volume_internal(struct raop_session *rs, int volume, evrtsp_req_cb cb) raop_volume = raop_volume_convert(volume); /* Don't let locales get in the way here */ - ret = evbuffer_add_printf(evbuf, "volume: %d.%06d", (int)raop_volume, -(int)(1000000.0 * (raop_volume - (int)raop_volume))); + ret = evbuffer_add_printf(evbuf, "volume: %d.%06d\r\n", (int)raop_volume, -(int)(1000000.0 * (raop_volume - (int)raop_volume))); if (ret < 0) { DPRINTF(E_LOG, L_RAOP, "Out of memory for SET_PARAMETER payload (volume)\n");