mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Repair some typos
This commit is contained in:
parent
5815ec6f3e
commit
7b90e3b942
3 changed files with 6 additions and 6 deletions
|
|
@ -1166,23 +1166,23 @@ int pa_check_in_group(gid_t g) {
|
|||
#else /* HAVE_GRP_H */
|
||||
|
||||
int pa_own_uid_in_group(const char *name, gid_t *gid) {
|
||||
errno = ENOSUP;
|
||||
errno = ENOTSUP;
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
||||
int pa_uid_in_group(uid_t uid, const char *name) {
|
||||
errno = ENOSUP;
|
||||
errno = ENOTSUP;
|
||||
return -1;
|
||||
}
|
||||
|
||||
gid_t pa_get_gid_of_group(const char *name) {
|
||||
errno = ENOSUP;
|
||||
errno = ENOTSUP;
|
||||
return (gid_t) -1;
|
||||
}
|
||||
|
||||
int pa_check_in_group(gid_t g) {
|
||||
errno = ENOSUP;
|
||||
errno = ENOTSUP;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -522,7 +522,7 @@ pa_socket_client* pa_socket_client_new_string(pa_mainloop_api *m, pa_bool_t use_
|
|||
if (!host)
|
||||
goto finish;
|
||||
|
||||
pa_zero(sa);
|
||||
pa_zero(s);
|
||||
s.sin_family = AF_INET;
|
||||
memcpy(&s.sin_addr, host->h_addr, sizeof(struct in_addr));
|
||||
s.sin_port = htons(a.port);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include <pulsecore/rtpoll.h>
|
||||
|
||||
/* Two way communication between a thread and a mainloop. Before the
|
||||
* thread is started a pa_pthread_mq should be initialized and than
|
||||
* thread is started a pa_thread_mq should be initialized and than
|
||||
* attached to the thread using pa_thread_mq_install(). */
|
||||
|
||||
typedef struct pa_thread_mq {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue