]> code.delx.au - pulseaudio/commitdiff
device-manager: Fix tagstruct description extraction (copy+paste blunder)
authorColin Guthrie <cguthrie@mandriva.org>
Sun, 28 Jun 2009 13:40:00 +0000 (14:40 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 1 Oct 2009 08:08:28 +0000 (09:08 +0100)
src/modules/module-device-manager.c

index b41f71c7bda57557266b3ca4515c5481c624e9b0..68ed9519f915a1ed1f8581ae0ea73ce33129d10d 100644 (file)
@@ -429,7 +429,7 @@ static int extension_cb(pa_native_protocol *p, pa_module *m, pa_native_connectio
         entry.version = ENTRY_VERSION;
 
         if (pa_tagstruct_gets(t, &name) < 0 ||
-          pa_tagstruct_gets(reply, &description) < 0)
+          pa_tagstruct_gets(t, &description) < 0)
           goto fail;
 
         if (!name || !*name)