mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
Convert most snprintf() calls to pa_snprintf()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1534 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
8e83838154
commit
929526de33
30 changed files with 79 additions and 67 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/props.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "x11wrap.h"
|
||||
|
||||
|
|
@ -198,7 +199,7 @@ pa_x11_wrapper* pa_x11_wrapper_get(pa_core *c, const char *name) {
|
|||
pa_x11_wrapper *w;
|
||||
assert(c);
|
||||
|
||||
snprintf(t, sizeof(t), "x11-wrapper%s%s", name ? "-" : "", name ? name : "");
|
||||
pa_snprintf(t, sizeof(t), "x11-wrapper%s%s", name ? "-" : "", name ? name : "");
|
||||
if ((w = pa_property_get(c, t)))
|
||||
return pa_x11_wrapper_ref(w);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue