diff options
Diffstat (limited to 'src/pulsecore/authkey-prop.c')
-rw-r--r-- | src/pulsecore/authkey-prop.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/pulsecore/authkey-prop.c b/src/pulsecore/authkey-prop.c index 179c16ca..a953bf7d 100644 --- a/src/pulsecore/authkey-prop.c +++ b/src/pulsecore/authkey-prop.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /*** This file is part of PulseAudio. @@ -43,7 +41,7 @@ struct authkey_data { int pa_authkey_prop_get(pa_core *c, const char *name, void *data, size_t len) { struct authkey_data *a; - + pa_assert(c); pa_assert(name); pa_assert(data); @@ -54,13 +52,13 @@ int pa_authkey_prop_get(pa_core *c, const char *name, void *data, size_t len) { pa_assert(a->length == len); memcpy(data, (uint8_t*) a + PA_ALIGN(sizeof(struct authkey_data)), len); - + return 0; } int pa_authkey_prop_put(pa_core *c, const char *name, const void *data, size_t len) { struct authkey_data *a; - + pa_assert(c); pa_assert(name); @@ -91,7 +89,7 @@ void pa_authkey_prop_ref(pa_core *c, const char *name) { void pa_authkey_prop_unref(pa_core *c, const char *name) { struct authkey_data *a; - + pa_assert(c); pa_assert(name); |