]> code.delx.au - pulseaudio/commitdiff
Repair some typos
authorMaarten Bosmans <mkbosmans@gmail.com>
Tue, 4 Jan 2011 16:12:09 +0000 (17:12 +0100)
committerMaarten Bosmans <mkbosmans@gmail.com>
Thu, 17 Feb 2011 11:02:30 +0000 (12:02 +0100)
src/pulsecore/core-util.c
src/pulsecore/socket-client.c
src/pulsecore/thread-mq.h

index 49cd01a4dcdf68d7f6e6e03bc5ee15ac58948af9..f2a09463337401071e81543e741fc082e1c6eac8 100644 (file)
@@ -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;
 }
 
index 31acfd2dd0d6f968f02894c3d4961c8c7013fd19..ae7abc9e287162be99267ae0387210cdb4cfe1ae 100644 (file)
@@ -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);
index 96839d25f1cf4292b188605644406b7b6a28d1be..a1f4b3fe57b017ad687ec2678ce4f15b079dd55c 100644 (file)
@@ -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 {