File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,4 +203,4 @@ namespace fs {
203203
204204} // < fs
205205
206- #endif
206+ #endif // < FS_COMMON_HPP
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ namespace http {
6767 inline TCP_conn release ();
6868
6969 /* *
70- * @brief Wether the underlying TCP connection has been released or not
70+ * @brief Whether the underlying TCP connection has been released or not
7171 *
7272 * @return true if the underlying TCP connection is released
7373 */
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class Message {
9999 *
100100 * @param[in] len The length of the content
101101 *
102- * @return Outcome of wether the field got updated or not
102+ * @return Outcome of whether the field got updated or not
103103 */
104104 inline bool set_content_length (size_t len);
105105
Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ class Connection : public std::enable_shared_from_this<Connection> {
642642 void writeq_reset ();
643643
644644 /*
645- Mark wether the Connection is in TCP write queue or not.
645+ Mark whether the Connection is in TCP write queue or not.
646646 */
647647 void set_queued (bool queued)
648648 { queued_ = queued; }
@@ -888,7 +888,7 @@ class Connection : public std::enable_shared_from_this<Connection> {
888888 void timewait_timeout ()
889889 { signal_close (); }
890890
891- /* * Wether to use Delayed ACK or not */
891+ /* * Whether to use Delayed ACK or not */
892892 bool use_dack () const ;
893893
894894 /* *
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ struct RTTM {
6060 {}
6161
6262 /* *
63- * @brief Returns wether the RTTM is currently "measuring" (time is set)
63+ * @brief Returns whether the RTTM is currently "measuring" (time is set)
6464 *
6565 * @return True if the RTTM is active (measuring)
6666 */
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ namespace net {
6969 * map of listeners
7070 *
7171 * @param port listening port
72- * @return wether the listener had a port
72+ * @return whether the listener had a port
7373 */
7474 bool unbind (const tcp::port_t port);
7575
@@ -188,10 +188,10 @@ namespace net {
188188 { return wscale_; }
189189
190190 /* *
191- * @brief Returns wether this TCP is using window scaling.
191+ * @brief Returns whether this TCP is using window scaling.
192192 * A wscale factor of 0 means off.
193193 *
194- * @return Wether wscale is being used
194+ * @return Whether wscale is being used
195195 */
196196 constexpr bool uses_wscale () const
197197 { return wscale_ > 0 ; }
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class Chunk {
121121 Chunk operator +(const Chunk& c);
122122
123123 /* *
124- * @brief Check wether the chunk is valid/not empty
124+ * @brief Check whether the chunk is valid/not empty
125125 */
126126 operator bool () const noexcept
127127 { return static_cast <bool >(buffer_) and (length_ > 0 ); }
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class Timer {
8989 /* *
9090 * @brief If the timer is running (active)
9191 *
92- * @return Wether the timer is running or not
92+ * @return whether the timer is running or not
9393 */
9494 bool is_running () const
9595 { return id_ != Timers::UNUSED_ID; }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export INCLUDEOS_ENABLE_TEST=${INCLUDEOS_ENABLE_TEST-OFF}
1717
1818# Initialize variables:
1919install_yes=0
20- verbose =0
20+ quiet =0
2121source=0
2222
2323while getopts " h?yqs" opt; do
@@ -150,7 +150,7 @@ printf " %-25s %-25s %s\n"\
150150
151151# Give user option to evaluate install options
152152if tty -s && [ $install_yes -eq 0 ]; then
153- read -p " Is this correct [Y| n]?" answer
153+ read -p " Is this correct [Y/ n]?" answer
154154 answer=${answer:- " Y" } # Default value
155155 case $answer in
156156 [yY] | [yY][Ee][Ss] )
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class Butler : public Middleware {
7171 * @details Very bad but easy way to assume the path is a request for a file.
7272 *
7373 * @param path
74- * @return wether a path is a file request or not
74+ * @return whether a path is a file request or not
7575 */
7676 inline bool is_file_request (const std::string& path) const
7777 { return !get_extension (path).empty (); }
You can’t perform that action at this time.
0 commit comments