Assorted typo fixes in comments.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 21 Dec 2014 13:16:14 +0000 (13:16 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 11 Jan 2015 15:11:38 +0000 (16:11 +0100)
Quite a few..

17 files changed:
afs.c
afs.h
aft.c
command.c
crypt_backend.h
exec.c
fecdec_filter.c
flac_afh.c
gui_theme.c
mix.h
net.c
oss_write.c
recv_common.c
string.h
sync_filter.c
udp_send.c
write.h

diff --git a/afs.c b/afs.c
index dd0d1bcd14c3cc7ba75c6b67f38d6cc3ec107fe6..68afec6c1c3a0a8b0b58b5ec74993dffa73e314c 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -773,7 +773,7 @@ static void register_signal_task(struct sched *s)
 
 static struct list_head afs_client_list;
 
-/** Describes on connected afs client. */
+/** Describes one connected afs client. */
 struct afs_client {
        /** Position in the afs client list. */
        struct list_head node;
diff --git a/afs.h b/afs.h
index 0b443354b74a115d1e81349ba8d3fada358dde62..f70d5c93211e4264cf19b749ef96283176d998a6 100644 (file)
--- a/afs.h
+++ b/afs.h
@@ -127,7 +127,7 @@ struct ls_data {
  *
  * Before forking the afs child, para_server creates a bidirectional pipe
  * through which both processes communicate. Usually para_server requests a new
- * audio in order to start streaming or when the end of the current audio file
+ * audio file in order to start streaming or when the end of the current audio file
  * has been reached.  The afs process responds to such a request by sending
  * back an eight byte buffer. The first four bytes is the uint32_t
  * representation of the code, usually \p NEXT_AUDIO_FILE if an admissible
diff --git a/aft.c b/aft.c
index 5204ce0ce47c8d81df9fb8d8865338e45d3b33a3..f87ac96e8b62eb2d7c00bb3b6e2130b25b2c9a79 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -2593,7 +2593,7 @@ static void afs_stat_callback(int fd, const struct osl_object *query)
  * is used to pass the status items from the afs process to the command handler
  * via a shared memory area and a pipe.
  *
- * \return The return value of the underyling call to \ref send_callback_request().
+ * \return The return value of the underlying call to \ref send_callback_request().
  */
 int send_afs_status(struct command_context *cc, int parser_friendly)
 {
index a9f5aa697be2e3f7ab51819898b14afb7d0535c6..661b2a8a079a42a17057cce9dce0faa9d9d2a709 100644 (file)
--- a/command.c
+++ b/command.c
@@ -210,7 +210,7 @@ static int check_sender_args(int argc, char * const * argv, struct sender_comman
  *
  * The nonblock flag must be disabled for the file descriptor given by \a scc.
  *
- * Stream cipher encryption is automatically activated if neccessary via the
+ * Stream cipher encryption is automatically activated if necessary via the
  * sideband transformation, depending on the value of \a band.
  *
  * \return Standard.
index 040a719bbc4c41fc92855da2b57ffcdae9712ab8..8ff6919418335f4db0b965aadea51d1ba6561d1e 100644 (file)
@@ -6,7 +6,7 @@
 
 /** \file crypt_backend.h Non-public crypto interface. */
 
-/* This should only be incuded from files which provide crypto functions. */
+/* This should only be included from files which provide crypto functions. */
 
 /** AES block size in bytes. */
 #define AES_CRT128_BLOCK_SIZE 16
diff --git a/exec.c b/exec.c
index 004c0437ee50a4819363136b6f8f737b227d30a1..c90df6e90516caceb50fee544b27dda49a18eb2a 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -117,7 +117,7 @@ err_out:
  * Exec the given command.
  *
  * \param pid Will hold the pid of the created process upon return.
- * \param cmdline Holds the command and its arguments, seperated by spaces.
+ * \param cmdline Holds the command and its arguments, separated by spaces.
  * \param fds A pointer to a value-result array.
  *
  * This function uses fork/exec to create a new process. \a fds must be a
@@ -130,7 +130,7 @@ err_out:
  *     - fd[i] > 0: create a pipe and dup i to one end of that pipe.
  *     Upon return, fd[i] contains the file descriptor of the pipe.
  *
- *     In any case, all unneeded filedescriptors are closed.
+ *     In any case, all unneeded file descriptors are closed.
  *
  * \return Standard.
  */
index 9edbcafe9e60a591337e93cac390cc8262e83721..31dd55c883f2e2f48ea31d9f357caf4197f7dc5d 100644 (file)
@@ -47,7 +47,7 @@ struct fec_header {
        uint16_t slice_bytes;
        /** Non-zero if this group is the beginning of the stream. */
        uint8_t bos;
-       /** Non-zero if this stream embedds audio headers into fec groups. */
+       /** Non-zero if this stream embeds audio headers into fec groups. */
        uint8_t header_stream;
 };
 
index fd7bd24a20f9a621240f926ad1511592328cb18d..45879c2f365451c96a1c3633320c7f5ac5b665c6 100644 (file)
@@ -215,7 +215,7 @@ static FLAC__StreamDecoderTellStatus tell_cb(
        return FLAC__STREAM_DECODER_TELL_STATUS_OK;
 }
 
-/* libflac insits on this callback being present. */
+/* libflac insists on this callback being present. */
 static FLAC__StreamDecoderWriteStatus write_cb(
                __a_unused const FLAC__StreamDecoder *decoder,
                __a_unused const FLAC__Frame *frame,
index 9e90029b28f83290849a85ac4392f444b2aeccda..d68ddeeb91d9c3bc72ca838fd13a354c21c15813 100644 (file)
@@ -416,7 +416,7 @@ void theme_init(const char *name, struct gui_theme *t)
  * \param t Theme definition is stored here.
  *
  * This picks the theme that comes before the currently active one, or the last
- * availabe theme, if the current one is the first.
+ * available theme, if the current one is the first.
  *
  * \sa \ref theme_next().
  */
@@ -430,7 +430,7 @@ void theme_prev(struct gui_theme *t)
  *
  * \param t Theme definition is stored here.
  *
- * This works exacly as theme_prev() but cycles forwards through the list of
+ * This works exactly as theme_prev() but cycles forwards through the list of
  * available themes.
  */
 void theme_next(struct gui_theme *t)
diff --git a/mix.h b/mix.h
index 1141ce599409824bc772b35a2d7e56fd7c9be454..305e9d80aaa1d742649fb77021b24fddc65c9b5d 100644 (file)
--- a/mix.h
+++ b/mix.h
@@ -31,6 +31,6 @@ struct mixer {
        int (*get)(struct mixer_handle *handle);
        /** Change the value of the selected channel. */
        int (*set)(struct mixer_handle *handle, int val);
-       /** Free all ressources associated with the given handle. */
+       /** Free all resources associated with the given handle. */
        void (*close)(struct mixer_handle **handle);
 };
diff --git a/net.c b/net.c
index aa3fcbb9e991652b9c77d5d1a07b438a91e4c651..05d8f5ca9af750263ecd28a15f73e7e0caa0ff0d 100644 (file)
--- a/net.c
+++ b/net.c
@@ -48,7 +48,7 @@
  * \param netmask Value of the netmask part in \a cidr or the
  *               default of 32 if not specified.
  *
- * \return Pointer to \a addr if succesful, NULL on error.
+ * \return Pointer to \a addr if successful, NULL on error.
  * \sa RFC 4632
  */
 char *parse_cidr(const char *cidr,
@@ -601,7 +601,7 @@ static inline int estimated_header_overhead(const int af_type)
  *
  * \param sockfd The socket file descriptor.
  *
- * The socket must be connected. See RFC 1122, 3.3.3. If the protocol familiy
+ * The socket must be connected. See RFC 1122, 3.3.3. If the protocol family
  * could not be determined, \p AF_INET is assumed.
  *
  * \return The maximum message size of the address family type.
index 35f7b6280115ec53bf88d5f2e303e34f8cc45d98..5decc24b6d8fb8b0d62471255d4dd579d4ddb0b3 100644 (file)
@@ -147,7 +147,7 @@ static int oss_init(struct writer_node *wn, unsigned sample_rate,
         * Set sampling rate
         *
         * If we request a higher sampling rate than is supported by the
-        * device, the the highest possible speed is automatically used. The
+        * device, the highest possible speed is automatically used. The
         * value actually used is returned as the new value of the argument.
         */
        rate = sample_rate;
index 02b785ffcadc9a6fb9587f8fd24b152eb1633255..411374a29b48450f6e9d3f6a8fd387a7ad41f15d 100644 (file)
@@ -56,7 +56,7 @@ static void *parse_receiver_args(int receiver_num, char *options)
  * \param receiver_num contains the number of the receiver upon success
  *
  * This function checks whether \a ra starts with the name of a supported
- * paraslash receiver, optinally followed by a colon and any options for that
+ * paraslash receiver, optionally followed by a colon and any options for that
  * receiver. If a valid receiver name was found the remaining part of \a ra is
  * passed to the receiver's config parser.
  *
index 20cf8defb19b0707f0f1f3e4fdb4f0d6da894c65..96595f0ed722fbba317067fed4c6e97ffaef0fe3 100644 (file)
--- a/string.h
+++ b/string.h
@@ -4,7 +4,7 @@
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
-/** \file string.h exported sybmols from string.c */
+/** \file string.h exported symbols from string.c */
 
 /** Flags that change how content is printed into the buffer. */
 enum para_buffer_flags {
index 6a2a09462f9b1d452c8c997ac04dbfaba1f30521..de30b168bf62e66172e9ac332532fbdebc153f29 100644 (file)
@@ -221,7 +221,7 @@ fail:
 }
 
 /*
- * True if we sent a packet to all budies and received a packet from each
+ * True if we sent a packet to all buddies and received a packet from each
  * enabled buddy.
  */
 static bool sync_complete(struct sync_filter_context *ctx)
@@ -368,7 +368,7 @@ static int sync_post_select(__a_unused struct sched *s, void *context)
                return 1;
        /*
         * Although all enabled buddies are in sync we do not splice out
-        * ourselves immediately. We rather wait until the timout expires,
+        * ourselves immediately. We rather wait until the timeout expires,
         * or the buddy list has become empty. This opens a time window
         * for disabled buddies to become enabled by sending us a packet.
         */
index 465b3ca64171b41ec23df50b398c589226dc4c79..3fe2db80587380e4faa258dfd2bfaed7d40b545a 100644 (file)
@@ -58,7 +58,7 @@ static void udp_close_target(struct sender_client *sc)
        size_t len = vss_get_fec_eof_packet(&buf);
 
        /*
-        * Ignore the return value of wirte() since we are closing the target
+        * Ignore the return value of write() since we are closing the target
         * anyway. The sole purpose of the "do_nothing" statement is to silence
         * gcc.
         */
diff --git a/write.h b/write.h
index 6ce5c32d31864e9fcc2103ce90d3484bad047ae3..f308acefbe64e6eb51085fd299c081045d0058ae 100644 (file)
--- a/write.h
+++ b/write.h
@@ -48,7 +48,7 @@ struct writer {
         */
        void *(*parse_config_or_die)(int argc, char **argv);
        /**
-        * Dellocate all configuration resources.
+        * Deallocate all configuration resources.
         *
         * This should free whatever was allocated by \ref parse_config_or_die().
         */