[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.15-test5-33-g77a1db1

Lennart Poettering gitmailer-noreply at 0pointer.de
Fri Mar 20 10:34:49 PDT 2009


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  888e44f3b0a361b5cfcca1090d0defd21217db11 (commit)

- Log -----------------------------------------------------------------
77a1db1 fix a misplaced assert
-----------------------------------------------------------------------

Summary of changes:
 src/modules/bluetooth/module-bluetooth-device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------

commit 77a1db16b996e079cd565f7d0baf9fe81ca88ccd
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Mar 20 18:34:16 2009 +0100

    fix a misplaced assert

diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c
index fc8dc9c..7386f8c 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -953,7 +953,7 @@ static int hsp_process_push(struct userdata *u) {
             break;
         }
 
-        pa_assert((size_t) l <= memchunk.length);
+        pa_assert((size_t) l <= pa_memblock_get_length(memchunk.memblock));
 
         memchunk.length = (size_t) l;
         u->read_index += (uint64_t) l;

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list