This fixes typos and spelling mistakes in the following files:
xprt_quic.c, buf.c, dynbuf.h.
return 0;
/* If the emergency buffers are too low, we won't try to allocate a
return 0;
/* If the emergency buffers are too low, we won't try to allocate a
- * buffer either so that we speed up their release. As a corrolary, it
+ * buffer either so that we speed up their release. As a corollary, it
* means that we're always allowed to try to fall back to an emergency
* buffer if pool_alloc() fails. The minimum number of available
* emergency buffers for an allocation depends on the queue:
* means that we're always allowed to try to fall back to an emergency
* buffer if pool_alloc() fails. The minimum number of available
* emergency buffers for an allocation depends on the queue:
/* Ensures that <buf> is allocated, or allocates it. If no memory is available,
* ((char *)1) is assigned instead with a zero size. The allocated buffer is
* returned, or NULL in case no memory is available. Since buffers only contain
/* Ensures that <buf> is allocated, or allocates it. If no memory is available,
* ((char *)1) is assigned instead with a zero size. The allocated buffer is
* returned, or NULL in case no memory is available. Since buffers only contain
- * user data, poisonning is always disabled as it brings no benefit and impacts
+ * user data, poisoning is always disabled as it brings no benefit and impacts
* performance. Due to the difficult buffer_wait management, they are not
* subject to forced allocation failures either. If other waiters are present
* at higher criticality levels, we refrain from allocating.
* performance. Due to the difficult buffer_wait management, they are not
* subject to forced allocation failures either. If other waiters are present
* at higher criticality levels, we refrain from allocating.
-/* Gets one text line out of aa buffer.
+/* Gets one text line out of a buffer.
* Return values :
* >0 : number of bytes read. Includes the \n if present before len or end.
* =0 : no '\n' before end found. <str> is left undefined.
* Return values :
* >0 : number of bytes read. Includes the \n if present before len or end.
* =0 : no '\n' before end found. <str> is left undefined.
/* b_slow_realign_ofs() : this function realigns a possibly wrapping buffer
* setting its new head at <ofs>. Depending of the <ofs> value, the resulting
* buffer may also wrap. A temporary swap area at least as large as b->size must
/* b_slow_realign_ofs() : this function realigns a possibly wrapping buffer
* setting its new head at <ofs>. Depending of the <ofs> value, the resulting
* buffer may also wrap. A temporary swap area at least as large as b->size must
- * be provided in <swap>. It's up to the caller to ensuze <ofs> is not larger
+ * be provided in <swap>. It's up to the caller to ensure <ofs> is not larger
* than b->size.
*/
void b_slow_realign_ofs(struct buffer *b, char *swap, size_t ofs)
* than b->size.
*/
void b_slow_realign_ofs(struct buffer *b, char *swap, size_t ofs)
qc = conn->handle.qc;
TRACE_ENTER(QUIC_EV_CONN_NEW, qc);
qc = conn->handle.qc;
TRACE_ENTER(QUIC_EV_CONN_NEW, qc);
- /* This has as side effet to create a SSL_SESSION object attached to
+ /* This has as side effect to create a SSL_SESSION object attached to
* the SSL object.
*/
if (qc_is_back(qc) && !qc_ssl_do_hanshake(qc, ctx))
* the SSL object.
*/
if (qc_is_back(qc) && !qc_ssl_do_hanshake(qc, ctx))