]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: miscellaneous
authorViktor Szakats <commit@vsz.me>
Thu, 28 May 2026 21:50:52 +0000 (23:50 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 1 Jun 2026 20:33:57 +0000 (22:33 +0200)
- drop more uses of the word "just". (not enforced here)
- drop some uses of the "will" word.
- "then" -> "than".
- tests/http/testenv/curl.py: fix copy-paste typo in error message.
- pytest: replace `shutdownh` with `shutdown` in test names.
  Spotted by GitHub Code Quality.
- comment typos.
- whitespace and newlines fixes.

Closes #21830

116 files changed:
.github/stale.yml
.github/workflows/macos.yml
CMake/FindGSS.cmake
CMake/PickyWarnings.cmake
CMakeLists.txt
REUSE.toml
acinclude.m4
configure.ac
lib/cf-h3-proxy.c
lib/config-os400.h
lib/request.c
lib/sendf.h
lib/setopt.c
lib/url.c
lib/urlapi.c
lib/vquic/curl_ngtcp2.c
m4/curl-compilers.m4
m4/curl-gnutls.m4
projects/OS400/.checksrc
projects/vms/build_gnv_curl_pcsi_desc.com
projects/vms/build_vms.com
projects/vms/config_h.com
projects/vms/curl_gnv_build_steps.txt
projects/vms/curl_release_note_start.txt
projects/vms/make_gnv_curl_install.sh
projects/vms/make_pcsi_curl_kit_name.com
projects/vms/stage_curl_install.com
scripts/cd2nroff
scripts/checksrc.pl
scripts/managen
scripts/mdlinkcheck
scripts/mk-ca-bundle.pl
scripts/nroff2cd
scripts/wcurl
src/tool_getparam.c
src/tool_operate.c
tests/certs/Makefile.am
tests/data/DISABLED
tests/data/test1075
tests/data/test1144
tests/data/test1152
tests/data/test1400
tests/data/test1401
tests/data/test1402
tests/data/test1403
tests/data/test1404
tests/data/test1405
tests/data/test1406
tests/data/test1407
tests/data/test1420
tests/data/test1465
tests/data/test1481
tests/data/test157
tests/data/test2027
tests/data/test2030
tests/data/test218
tests/data/test2304
tests/data/test306
tests/data/test341
tests/data/test583
tests/data/test750
tests/data/test950
tests/ech_tests.sh
tests/ftpserver.pl
tests/getpart.pm
tests/globalconfig.pm
tests/http-server.pl
tests/http/test_02_download.py
tests/http/test_05_errors.py
tests/http/test_14_auth.py
tests/http/test_30_vsftpd.py
tests/http/test_31_vsftpds.py
tests/http/test_32_ftps_vsftpd.py
tests/http/test_60_h3_proxy.py
tests/http/testenv/curl.py
tests/http/testenv/mod_curltest/mod_curltest.c
tests/libtest/first.c
tests/libtest/first.h
tests/libtest/lib1518.c
tests/libtest/lib1537.c
tests/libtest/lib1592.c
tests/libtest/lib1908.c
tests/libtest/lib1911.c
tests/libtest/lib1939.c
tests/libtest/lib1977.c
tests/libtest/lib3027.c
tests/libtest/lib501.c
tests/libtest/lib505.c
tests/libtest/lib518.c
tests/libtest/lib537.c
tests/libtest/test613.pl
tests/negtelnetserver.py
tests/rtspserver.pl
tests/runtests.pl
tests/secureserver.pl
tests/server/getpart.c
tests/server/rtspd.c
tests/server/sockfilt.c
tests/server/sws.c
tests/server/tftpd.c
tests/serverhelp.pm
tests/servers.pm
tests/smbserver.py
tests/sshserver.pl
tests/test1119.pl
tests/test1173.pl
tests/tftpserver.pl
tests/unit/unit1303.c
tests/unit/unit1609.c
tests/unit/unit1615.c
tests/unit/unit1625.c
tests/unit/unit1652.c
tests/unit/unit1655.c
tests/unit/unit1660.c
tests/unit/unit1666.c
tests/unit/unit2600.c

index 69a822e78be8dc12422f5b8b01e90a145340ba70..1c2b57c2cf90dc112c004290ccf33c5e0da061ff 100644 (file)
@@ -15,7 +15,7 @@ staleLabel: stale
 # Comment to post when marking an issue as stale. Set to `false` to disable
 markComment: >
   This issue has been automatically marked as stale because it has not had
-  recent activity. It will be closed if no further activity occurs. Thank you
+  recent activity. It is closed if no further activity occurs. Thank you
   for your contributions.
 # Comment to post when closing a stale issue. Set to `false` to disable
 closeComment: false
index b47af0a6aaa08a1519cc2384d22acf148de56bef..e1471fcc68a0c18edaf403f017e04e9c0662f0cb 100644 (file)
@@ -658,7 +658,7 @@ jobs:
           # Reduce build combinations, by dropping less interesting ones
           - { image: macos-26, compiler: 'gcc-13' }
           - { compiler: 'gcc-14' , build: cmake }
-          # Reduce autotools to just one job that is also build with cmake
+          # Reduce autotools to only one job that is also build with cmake
           - { compiler: 'gcc-13' , build: autotools }
           - { compiler: 'gcc-14' , build: autotools }
           - { compiler: 'gcc-15' , build: autotools }
index 9237fb30b1926604866cf6965794d6ccbf4ce433..283aeefba97f71aed6202318a795593ade3ffe48 100644 (file)
@@ -121,7 +121,7 @@ if(NOT _gss_FOUND)  # Not found by pkg-config. Let us take more traditional appr
       RESULT_VARIABLE _gss_configure_failed
       OUTPUT_STRIP_TRAILING_WHITESPACE)
 
-    # Older versions may not have the "--version" parameter. In this case we just do not care.
+    # Older versions may not have the "--version" parameter. In this case we do not care.
     if(_gss_configure_failed)
       set(_gss_version 0)
     else()
@@ -134,7 +134,7 @@ if(NOT _gss_FOUND)  # Not found by pkg-config. Let us take more traditional appr
       RESULT_VARIABLE _gss_configure_failed
       OUTPUT_STRIP_TRAILING_WHITESPACE)
 
-    # Older versions may not have the "--vendor" parameter. In this case we just do not care.
+    # Older versions may not have the "--vendor" parameter. In this case we do not care.
     if(NOT _gss_configure_failed AND NOT _gss_vendor MATCHES "Heimdal|heimdal")
       set(_gss_flavour "MIT")  # assume a default, should not really matter
     endif()
index 2de72a6d849ee88e38170cffb1d50938063f7b6d..b326345c1a40cdd6de6c026e7e835613daf0e9c4 100644 (file)
@@ -407,7 +407,7 @@ if(PICKY_COMPILER)
     list(APPEND _picky "-wd4746")
     list(APPEND _picky "-wd4820")  # 'A': 'N' bytes padding added after data member 'B'
     if(MSVC_VERSION GREATER_EQUAL 1900)
-      list(APPEND _picky "-wd5045")  # Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
+      list(APPEND _picky "-wd5045")  # Compiler inserts Spectre mitigation for memory load if /Qspectre switch specified
     endif()
   endif()
 endif()
@@ -437,7 +437,7 @@ if(CMAKE_C_STANDARD STREQUAL 90)
   endif()
   if((CMAKE_C_COMPILER_ID STREQUAL "Clang"      AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 3.9) OR
      (CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 8.1))
-    list(APPEND _picky "-Wno-comma")  # Just silly
+    list(APPEND _picky "-Wno-comma")  # Silly
   endif()
 endif()
 
index 362cc8ab90c86a719cc36d70dd70942ac9b363ac..198f18944a1fecd5ea1ec70aa7b2483c86f5a08b 100644 (file)
@@ -2180,7 +2180,7 @@ if(NOT CURL_DISABLE_INSTALL)
       set(_explicit_libs "")
       get_target_property(_imported "${_lib}" IMPORTED)
       if(NOT _imported)
-        # Reading the LOCATION property on non-imported target does error out.
+        # Reading the LOCATION property on non-imported target errors out.
         # Assume the user does not need this information in the .pc file.
         continue()
       endif()
index c2e8b7928889a31ec1d993b70ea6b0e4efa7dcc7..87be5825cc0467cae685bd31859f22cd7aea8102 100644 (file)
@@ -2,8 +2,8 @@
 # SPDX-FileCopyrightText: Daniel Stenberg, <daniel@haxx.se>, et al.
 
 # This file describes the licensing and copyright situation for files that
-# cannot be annotated directly, for example because of being
-# uncommentable. Unless this is the case, a file should be annotated directly.
+# cannot be annotated directly, for example because of being uncommentable.
+# Unless this is the case, a file should be annotated directly.
 #
 # This follows the REUSE specification: https://reuse.software/spec-3.2/#reusetoml
 
index 73afac6e083602ef7da813b5aacef0b84908b885..11fe68c737290d826470deb96c446c54d393eb85 100644 (file)
@@ -1040,7 +1040,7 @@ AC_DEFUN([CURL_VERIFY_RUNTIMELIBS], [
   dnl this test is of course not sensible if we are cross-compiling!
   if test "$cross_compiling" != "yes"; then
 
-    dnl just run a program to verify that the libs checked for previous to this
+    dnl run a program to verify that the libs checked for previous to this
     dnl point also is available runtime!
     AC_MSG_CHECKING([runtime libs availability])
     CURL_RUN_IFELSE([
index 20b4a9d91b34bfe9e8401e8aedaa0f111e6fd056..b2a996aa0b75bc7dd96b9b6ca4f9ec5f5e4a318d 100644 (file)
@@ -227,7 +227,7 @@ exec $CC "$@"
 EOF
 
 dnl **********************************************************************
-dnl See which TLS backend(s) that are requested. Just do all the
+dnl See which TLS backend(s) that are requested. Do all the
 dnl TLS AC_ARG_WITH() invokes here and do the checks later
 dnl **********************************************************************
 OPT_SCHANNEL=no
@@ -1610,7 +1610,7 @@ if test "x$OPT_BROTLI" != "xno"; then
       DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'`
       ;;
     off)
-      dnl no --with-brotli option given, just check default places
+      dnl no --with-brotli option given, check default places
       ;;
     *)
       dnl use the given --with-brotli spot
@@ -1700,7 +1700,7 @@ if test "x$OPT_ZSTD" != "xno"; then
 
       ;;
     off)
-      dnl no --with-zstd option given, just check default places
+      dnl no --with-zstd option given, check default places
       ;;
     *)
       dnl use the given --with-zstd spot
@@ -1846,7 +1846,7 @@ int main(int argc, char **argv)
 {
 #ifdef _WIN32
   /* on Windows, writing to the argv does not hide the argument in
-     process lists so it can just be skipped */
+     process lists so it can be skipped */
   (void)argc;
   (void)argv;
   return 1;
@@ -2437,7 +2437,7 @@ if test "x$OPT_LIBSSH2" != "xno"; then
 
       ;;
     off)
-      dnl no --with-libssh2 option given, just check default places
+      dnl no --with-libssh2 option given, check default places
       ;;
     *)
       dnl use the given --with-libssh2 spot
@@ -2514,7 +2514,7 @@ elif test "x$OPT_LIBSSH" != "xno"; then
 
       ;;
     off)
-      dnl no --with-libssh option given, just check default places
+      dnl no --with-libssh option given, check default places
       ;;
     *)
       dnl use the given --with-libssh spot
index 4fdaef47d0cfe0a07b5d3da833b521e83b27cc23..d5fb45e73dffceee3186b7ecc441b9b386cb1d7c 100644 (file)
@@ -1404,7 +1404,7 @@ static void cb_ngtcp2_rand(uint8_t *dest, size_t destlen,
   result = Curl_rand(NULL, dest, destlen);
   if(result) {
     /* cb_rand is only used for non-cryptographic context. If Curl_rand
-       failed, just fill 0 and call it *random*. */
+       failed, fill 0 and call it *random*. */
     memset(dest, 0, destlen);
   }
 }
index 1bb11c48ac35c5d068cf4d99ff8bc1a329b42379..eacd6e8942c8d156a7a649e306ba3c27161557fa 100644 (file)
 /* Size of time_t in number of bytes */
 #define SIZEOF_TIME_T           4
 
-/* Define to 1 if all of the C89 standard headers exist (not just the ones
+/* Define to 1 if all of the C89 standard headers exist (not only the ones
    required in a freestanding environment). This macro is provided for
    backward compatibility; new code need not use it. */
 #define STDC_HEADERS            1
index c231a63eaa38f6fe9663f4efa146fe92bf5bd547..4ecb462951e11c6bebb0b735312ccd1ae5bb8f1f 100644 (file)
@@ -392,7 +392,7 @@ CURLcode Curl_req_send(struct Curl_easy *data, struct dynbuf *req,
   blen = curlx_dyn_len(req);
   /* if the sendbuf is empty and the request without body and
    * the length to send fits info a sendbuf chunk, we send it directly.
-   * If `blen` is larger then `chunk_size`, we can not. Because we
+   * If `blen` is larger than `chunk_size`, we can not. Because we
    * might have to retry a blocked send later from sendbuf and that
    * would result in retry sends with a shrunken length. That is trouble. */
   if(Curl_bufq_is_empty(&data->req.sendbuf) &&
index 75c6e248ea473f8a94f819186cad0aaeb6efb020..787fe7ff69ba2d6f1151cc7121d90cf7f4d47774 100644 (file)
@@ -377,7 +377,7 @@ curl_off_t Curl_creader_client_length(struct Curl_easy *data);
  *                values will be ignored.
  * @return CURLE_OK if offset could be set
  *         CURLE_READ_ERROR if not supported by reader or seek/read failed
- *                          of offset larger then total length
+ *                          of offset larger than total length
  *         CURLE_PARTIAL_FILE if offset led to 0 total length
  */
 CURLcode Curl_creader_resume_from(struct Curl_easy *data, curl_off_t offset);
index d4c1ca69a42bc3d432b65799bc4abccad89940cc..368548f704f56cbc737ceca4d09ebade0144625f 100644 (file)
@@ -2774,7 +2774,7 @@ static CURLcode setopt_offt(struct Curl_easy *data, CURLoption option,
     break;
   case CURLOPT_MAX_SEND_SPEED_LARGE:
     /*
-     * When transfer uploads are faster then CURLOPT_MAX_SEND_SPEED_LARGE
+     * When transfer uploads are faster than CURLOPT_MAX_SEND_SPEED_LARGE
      * bytes per second the transfer is throttled..
      */
     if(offt < 0)
index aa151eda7e15997b95ce42ea1bc1301b6c80865a..d7af1560f9eabddb0d2adb833b04ea807551b950 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -980,7 +980,7 @@ static bool url_match_destination(struct connectdata *conn,
       return FALSE;
     }
   }
-  /* Scheme mismatch is acceptable, just compare hostname/port */
+  /* Scheme mismatch is acceptable, compare hostname/port */
   return Curl_peer_same_destination(m->needle->origin, conn->origin);
 }
 
index 9fd08890f3801113dce41ba83dcd94b370e701f7..08e29aa5134aba5d264f90a789aad0682fa63904 100644 (file)
@@ -480,7 +480,7 @@ static CURLUcode hostname_check(struct Curl_URL *u, char *hostname,
       /* more than one trailing dot is not allowed */
       return CURLUE_BAD_HOSTNAME;
     else if((hlen == 1) && (hostname[0] == '.'))
-      /* just a single dot is not allowed */
+      /* a single dot alone is not allowed */
       return CURLUE_BAD_HOSTNAME;
   }
   return CURLUE_OK;
index a5e0ea2cf944035e094cce9d8be6fa61bff32e7a..deb21e882dcae20106a8317a424dff207239499d 100644 (file)
@@ -1697,7 +1697,7 @@ static CURLcode h3_stream_open(struct Curl_cfilter *cf,
       stream->upload_left = -1; /* unknown */
     break;
   default:
-    /* there is not request body */
+    /* there is no request body */
     stream->upload_left = 0; /* no request body */
     break;
   }
index 27500c879b6997bdcb4b04255af7164f444ec652..3c96093abbc3de6e85affdc589dd24ffebde28da 100644 (file)
@@ -174,7 +174,7 @@ dnl -------------------------------------------------
 dnl Verify if compiler being used is GNU C
 dnl
 dnl $compiler_num is set to MAJOR * 100 + MINOR for gcc less than version
-dnl 7 and just $MAJOR * 100 for gcc version 7 and later.
+dnl 7 and $MAJOR * 100 for gcc version 7 and later.
 dnl
 dnl Examples:
 dnl Version 1.2.3 => 102
@@ -966,7 +966,7 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
                 tmp_CFLAGS="$tmp_CFLAGS -Wno-c99-extensions"  # Avoid: warning: '_Bool' is a C99 extension
               fi
               if test "$compiler_num" -ge "309"; then
-                tmp_CFLAGS="$tmp_CFLAGS -Wno-comma"  # Just silly
+                tmp_CFLAGS="$tmp_CFLAGS -Wno-comma"  # Silly
               fi
               ;;
           esac
index 93e1e1b9c0da17b46eb67f550d690528ff7aa91c..3eab1c5d3192e14b5a021f29716e688051785336 100644 (file)
@@ -72,7 +72,7 @@ if test "x$OPT_GNUTLS" != "xno"; then
       addlib=-lgnutls
       addld=-L$OPT_GNUTLS/lib$libsuff
       addcflags=-I$OPT_GNUTLS/include
-      dnl we just do not know
+      dnl we do not know
       version=""
       gtlslib=$OPT_GNUTLS/lib$libsuff
     fi
index 3bd88ff1e7db396cd3f75f59131c3b7d3eef4c2b..e27d5729de0b31819391864374b8e5293696c15a 100644 (file)
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: curl
 
-# Possibly not what we want, but cannot test, just silence the warnings
+# Possibly not what we want, but cannot test, thus silence the warnings
 allowfunc calloc
 allowfunc free
 allowfunc malloc
index cbdd6379693b63ddbc0b8ca2942a9b2ccb5d83e1..7726b4aa9f434dfba23467dd50165ec3342e9976 100644 (file)
@@ -425,7 +425,7 @@ $           destname = "[gnv.beta" + destname - "[gnv.usr"
 $       endif
 $   endif
 $!
-$!  It should be just a directory then.
+$!  It should be a directory then.
 $!-------------------------------------
 $   filedir = f$edit(f$parse(filename,,,"DIRECTORY"), "lowercase")
 $!  If this is not a directory then start processing files.
index 283e39ecf49383a0f80a6b00326259e6ca3d9e8c..d79fdb594079143f62689ba70905402f460c15fb 100644 (file)
@@ -723,7 +723,7 @@ $   endif
 $   'vo_c' "   SSLLIB = ''ssllib'"
 $!
 $! TODO: Why are we translating the logical name?
-$! The logical aname used to find the shared image should just be used
+$! The logical aname used to find the shared image should be used
 $! as translating it could result in the wrong location at run time.
 $   if (openssl .eq. 1)
 $   then
index e42ecd9d78db2be5421f09d6690273283d440cf7..0b23cc6633e55540686b8f181fa8d33cbaaf6f07 100644 (file)
@@ -10,7 +10,7 @@ $! The CONFIGURE shell script will be examined for hints and a few symbols
 $! but most of the tests will not produce valid results on OpenVMS.  Some
 $! will produce false positives and some will produce false negatives.
 $!
-$! It is easier to just read the config.h_in file and make up tests based
+$! It is easier to read the config.h_in file and make up tests based
 $! on what is in it!
 $!
 $! This file will create an empty config_vms.h file if one does not exist.
index 687b7b63f49896b505585d0dff38418cb248e540..88af34f5802eae217bcffbf0a72ee7431acf99ad 100644 (file)
@@ -268,7 +268,7 @@ branding the PCSI kit based on who is making the kit.
          This compares the VMS specific source with the backup
          staging directory for it and updates with any changes.
 
-         Leave off "UPDATE" to just check without doing any changes.
+         Leave off "UPDATE" to check without doing any changes.
 
       If you are not using NFS mounted disks and do not want to have a
       separate directory for staging the sources for backup make sure
index 1a67b36020b0899c749e168edbea1be6a127005b..184b458dd6696f75a72ad76f27e313031fd0f1fe 100644 (file)
@@ -36,7 +36,7 @@ the GNV$LIBCURL shared image and create logical names GNV$LIBCURL to reference
 it.  It will create the GNV$CURL_INCLUDE logical name for build procedures
 to access the header files.
 
-Normally to use curl from DCL, just create a foreign command as:
+Normally to use curl from DCL, create a foreign command as:
    curl :== $gnv$gnu:[usr.bin]gnv$curl.exe
 
 If you need to work around having the older HP SSL kit installed, then
index 4723070387d022966030fc940eea400e16ed83db..623fcc3a6be0ea406bd37427de4609835f7a74fc 100755 (executable)
@@ -37,7 +37,7 @@ export GNV_CC_MAIN_POSIX_EXIT=1
 make
 cd ../..
 # adjust the libcurl.pc file, GNV currently ignores the Lib: line.
-# but is noisy about it, so we just remove it.
+# but is noisy about it, so we remove it.
 sed -e 's/^Libs:/#Libs:/g' libcurl.pc > libcurl.pc_new
 rm libcurl.pc
 mv libcurl.pc_new libcurl.pc
index 956f7c1677980ec366730d65922e547fe52e7e4d..c7c2b26ada7e697911952352071228a7dee51215 100644 (file)
@@ -67,7 +67,7 @@ $ write sys$output "*****"
 $!
 $!
 $! Base is one of 'VMS', 'AXPVMS', 'I64VMS', 'VAXVMS' and indicates what
-$! binaries are in the kit.  A kit with just 'VMS' can be installed on all
+$! binaries are in the kit.  A kit with only 'VMS' can be installed on all
 $! architectures.
 $!
 $ base = "VMS"
index 10ae17adcb3e4439f2ad2d6c57ece5836a97f24f..48f6514e5f4ec5d0680bbd7f69749fe51dd436e7 100644 (file)
@@ -96,7 +96,7 @@ $   this_dir = f$element(i, ",", dest_dirs)
 $   i = i + 1
 $   if this_dir .eqs. "" then goto curl_dir_loop
 $   if this_dir .eqs. "," then goto curl_dir_loop_end
-$!  Just create the directories, do not delete them.
+$!  Create the directories, do not delete them.
 $!  --------------------------------------------------
 $   if remove_files .eq. 0
 $   then
index 62c9df025a0853681ab3e033978fad339b395fba..d051433a72c60a58bdd0a786b301de08b56f0d1d 100755 (executable)
@@ -426,7 +426,7 @@ sub single {
             print STDERR "$f:$line:1:ERROR: un-escaped < or > used\n";
             $errors++;
         }
-        # convert backslash-'<' or '> to just the second character
+        # convert backslash-'<' or '> to the second character
         $d =~ s/\\([<>])/$1/g;
 
         # mentions of curl symbols with man pages use italics by default
index 64b1da9a8553107a6d21314ac08683498244d1f0..41bf846bcd42b58a48845780ebf7342169c1d432 100755 (executable)
@@ -879,7 +879,7 @@ sub scanfile {
             }
         }
 
-        # check for "return" with parentheses around just a value/name
+        # check for "return" with parentheses around a value/name
         if($l =~ /^(.*\W)return \(\w*\);/) {
             checkwarn("RETURNPAREN", $line, length($1)+7, $file, $l,
                       "return with paren");
index e9b5d6157e676d3e76868e98422d108930deb8dd..2b82e74a8bbf74ca959162d65fd1d705600a962a 100755 (executable)
@@ -494,7 +494,7 @@ sub render {
             }
         }
 
-        # convert backslash-'<' or '> to just the second character
+        # convert backslash-'<' or '> to the second character
         $d =~ s/\\([><])/$1/g;
         # convert single backslash to double-backslash
         $d =~ s/\\/\\\\/g if($manpage);
@@ -916,7 +916,7 @@ sub single {
             push @ex, "[0q]Example$s:\n";
             #
             # long ASCII examples are wrapped. Preferably at the last space
-            # before the margin. Or at a colon. Otherwise it just cuts at the
+            # before the margin. Or at a colon. Otherwise it cuts at the
             # exact boundary.
             #
             foreach my $e (@examples) {
index 4569b764d789bd08b3433f58e6c8119b6592cb40..3c86ddb75ada520521c43f0c43e0e9a96fddb111 100755 (executable)
@@ -108,7 +108,7 @@ sub storelink {
             #print "-- whitelisted: $link\n";
             $whitelist{$link}++;
         }
-        # example.com is just example
+        # example.com is used as example
         elsif($link =~ /^https:\/\/(.*)example.(com|org|net)/) {
             #print "-- example: $link\n";
         }
index f36c16892df6c6ec5e88da8d5ca0d2c89566469d..6ef5d55e83c8c58c13fe97648fe7230b078a33a5 100755 (executable)
@@ -421,7 +421,7 @@ print CRT <<EOT;
 ## It contains the certificates in ${format}PEM format and therefore
 ## can be directly used with curl / libcurl / php_curl, or with
 ## an Apache+mod_ssl webserver for SSL client authentication.
-## Just configure this file as the SSLCACertificateFile.
+## Configure this file as the SSLCACertificateFile.
 ##
 ## Conversion done with mk-ca-bundle.pl version $version.
 ## SHA256: $newhash
@@ -493,7 +493,7 @@ while(<TXT>) {
     #
     # The latter is for certificates that have already been removed and are not
     # included. Not all explicitly distrusted certificates are ignored at this
-    # point, just those without an actual certificate.
+    # point, only those without an actual certificate.
     elsif(!$main_block && !$trust_block) {
         next;
     }
index 51b6974b8dfb21d58c4ea8e87b4ef96281d10f4d..6b2e3226a922639b55bb44c63e53e7c35a3de483 100755 (executable)
@@ -30,7 +30,7 @@ This script converts an nroff file to curldown
 Example: cd2nroff [options] <file.md> > <file.3>
 
 Note: when converting .nf sections, this tool does not know if the
-section is code or just regular quotes. It then assumes and uses ~~~c
+section is code or regular quotes. It then assumes and uses ~~~c
 for code.
 
 =end comment
@@ -116,7 +116,7 @@ HEAD
             # if there are enclosing quotes, remove them first
             $word =~ s/[\"\'](.*)[\"\']\z/$1/;
             if($word eq "SEE ALSO") {
-                # we just slurp up this section
+                # we slurp up this section
                 next;
             }
             push @desc, "\n# $word\n\n";
@@ -131,7 +131,7 @@ HEAD
             push @desc, "\n## $word\n\n";
         }
         elsif($d =~ /^\.IP/) {
-            # .IP with no text we just skip
+            # .IP with no text we skip
         }
         elsif($d =~ /^\.BR (.*)/) {
             # only used for SEE ALSO
index c39806cf946db5ad98d16a56bb5927f8e0e43255..a5c1f95e1cc4a69bfc674f61608ff601313f480d 100755 (executable)
@@ -67,7 +67,7 @@ Options:
   --no-decode-filename: Do not percent-decode the output filename, even if the percent-encoding in
                         the URL was done by wcurl, e.g.: The URL contained whitespace.
 
-  --dry-run: Do not actually execute curl, just print what would be invoked.
+  --dry-run: Do not actually execute curl, only print what would be invoked.
 
   -V, --version: Print version information.
 
@@ -197,7 +197,7 @@ get_url_filename()
         # sed to also replace ':' with the percent_encoded %3A
         */*) percent_decode "$(printf %s "${hostname_and_path}" | sed -e 's,^.*/,,' -e 's,:,%3A,g')" ;;
     esac
-    # No slash means there was just a hostname and no path; return empty string.
+    # No slash means there was only a hostname and no path; return empty string.
 }
 
 # Execute curl with the list of URLs provided by the user.
index 05642e7a83aa33fd94bf45bcd14678d8cacc0af9..00fd8515a5838d6f2cc657fc9fa7418b99ce4a62 100644 (file)
@@ -539,11 +539,11 @@ struct sizeunit {
 static const struct sizeunit *getunit(char unit)
 {
   static const struct sizeunit list[] = {
-    {'p', (curl_off_t)1125899906842624, 16 }, /* Peta */
-    {'t', (curl_off_t)1099511627776,    13 }, /* Tera */
-    {'g', 1073741824,                   10 }, /* Giga */
-    {'m', 1048576,                       7 }, /* Mega */
-    {'k', 1024,                          4 }, /* Kilo */
+    { 'p', (curl_off_t)1125899906842624, 16 }, /* Peta */
+    { 't', (curl_off_t)1099511627776,    13 }, /* Tera */
+    { 'g', 1073741824,                   10 }, /* Giga */
+    { 'm', 1048576,                       7 }, /* Mega */
+    { 'k', 1024,                          4 }, /* Kilo */
   };
 
   size_t i;
@@ -1627,12 +1627,12 @@ static ParameterError parse_time_cond(struct OperationConfig *config,
     config->timecond = CURL_TIMECOND_IFMODSINCE;
     break;
   case '-':
-    /* If-Unmodified-Since:  (section 14.24 in RFC2068) */
+    /* If-Unmodified-Since: (section 14.24 in RFC2068) */
     config->timecond = CURL_TIMECOND_IFUNMODSINCE;
     nextarg++;
     break;
   case '=':
-    /* Last-Modified:  (section 14.29 in RFC2068) */
+    /* Last-Modified: (section 14.29 in RFC2068) */
     config->timecond = CURL_TIMECOND_LASTMOD;
     nextarg++;
     break;
index a8d928f496fd61d470275b9843073c6efe13d5fc..dbf4ceea73d8c5c725851409dc7470ad6bcf9fb2 100644 (file)
@@ -722,6 +722,7 @@ static CURLcode post_close_output(struct per_transfer *per,
   }
   return result;
 }
+
 /*
  * Call this after a transfer has completed.
  */
index d28b1674da3d1bc3e7052151d4f09064ebe942e3..078b4490b6e20f8f99103d20a178ede2a2c9d666 100644 (file)
@@ -35,7 +35,7 @@ all-am: test-ca.cacert
 
 # Rebuild the certificates
 
-# Generate all certs in a single shot, but declare just a single target file
+# Generate all certs in a single shot, but declare only a single target file
 # to support GNU Make <4.3 without the "grouped explicit targets" feature.
 test-ca.cacert: $(CERTCONFIG_CA) $(CERTCONFIGS) genserv.pl
        @PERL@ $(srcdir)/genserv.pl test $(CERTCONFIGS)
index b6fe06d7955ee0bb23cc95ac000478ba3a7ec3f0..60dca3ca6a648a1b24b4a08b63eb5ca126db2fa9 100644 (file)
@@ -23,7 +23,7 @@
 ###########################################################################
 #
 # This file can be used to specify test cases that should not run when all
-# test cases are run by runtests.pl. Just add the plain test case numbers, one
+# test cases are run by runtests.pl. Add the plain test case numbers, one
 # per line.
 # Lines starting with '#' letters are treated as comments.
 #
@@ -43,7 +43,7 @@
 1184
 1209
 1211
-# fnmatch differences are just too common to make testing them sensible
+# fnmatch differences are too common to make testing them sensible
 1307
 1316
 1512
index f5431927039b3a9261cbfd9beafa28c700d52885..6f2a21bba19172f990c5bd713f60e48bb95a95db 100644 (file)
@@ -13,7 +13,7 @@ HTTP Basic auth
 <reply>
 # The test server provides no way to respond differently to a subsequent
 # Basic authenticated request (we really want to respond with 200 for
-# the second), so just respond with 401 for both and let curl deal with it.
+# the second), so respond with 401 for both and let curl deal with it.
 <data crlf="headers">
 HTTP/1.1 401 Authorization Required
 Server: testcurl
index a7baf6ef0e5874234d1fd3a90eaa64e247e89a9f..4446e63212d881d5e2b061a68cf83a2c9cfaa9c5 100644 (file)
@@ -11,7 +11,7 @@ HTTP/0.9
 # Server-side
 <reply>
 <data>
-No headers at all, just data swsclose
+No headers at all, only data swsclose
 
 Let's get
 
index ad548e64f1941d701b9fda0852d2961ea9f0bb0b..692f51faa06ad0c0353e2e54c2ede7cc6023549a 100644 (file)
@@ -9,7 +9,7 @@ FAILURE
 # Server-side
 <reply>
 <servercmd>
-REPLY PWD 257 "just one
+REPLY PWD 257 "Only one
 </servercmd>
 </reply>
 
index cf4aabbb8710355ac687bb4cad24e365fffb6425..d3279a9e7cd4e1df428021da2b0b7be087cda8f2 100644 (file)
@@ -51,7 +51,7 @@ Accept: */*
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
 # CURLOPT_INTERLEAVEDATA requires RTSP protocol
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 3f84805e00a048e181f0420bba293693908e28c1..74d174833922a66f78d6b8b78042046fa63fba3b 100644 (file)
@@ -62,7 +62,7 @@ X-Men: cyclops, iceman
 </protocol>
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 82061a385ca79d11a6769c0666ef90c32d435df7..6dd608458abc24723d6324e1475ee2789e2fc425 100644 (file)
@@ -54,7 +54,7 @@ foo=bar%AMPbaz=quux
 </protocol>
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index c3416a330586de08ffa34b0b180768a0447b7f87..14383314d48e19163f81891ada11d7fceb30aed6 100644 (file)
@@ -51,7 +51,7 @@ Accept: */*
 </protocol>
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 9fbd55526f16f3c78824914e93c23608baf4b609..d1a1d5217c7b709ecbec6bb5a1ccb799b0352ca3 100644 (file)
@@ -96,7 +96,7 @@ dummy data
 </protocol>
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 853c967ba77e86e0dd8bbc207f2ecafd3816e4f9..611dbf720fbf1af18c4e86f568aa18e513c99895 100644 (file)
@@ -65,11 +65,11 @@ QUIT
 <stripfile>
 # CURLOPT_USERAGENT and CURLOPT_MAXREDIRS requires HTTP protocol
 # CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
-# support, IOW depends on configuration - just ignore these.
+# support, IOW depends on configuration - ignore these.
 $_ = '' if /CURLOPT_USERAGENT/
 $_ = '' if /CURLOPT_MAXREDIRS/
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 26ad1c7998fa6d5d722144d518bb9f62eb7c0e9e..d7c4adcfa99344502dd784d88996837a188d04cc 100644 (file)
@@ -61,7 +61,7 @@ body
 .
 </upload>
 <stripfile>
-# These options vary with configurations - just ignore them
+# These options vary with configurations - ignore them
 # CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
 $_ = '' if /CURLOPT_MAXREDIRS/
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
index 1436786115db265f88a0e3ebe49e9a3cb60bb1f2..599eb1d3e4ef4231d6dc717dc78d9b70be6ba42f 100644 (file)
@@ -48,7 +48,7 @@ LIST %TESTNUMBER
 QUIT
 </protocol>
 <stripfile>
-# These options vary with configurations - just ignore them
+# These options vary with configurations - ignore them
 # CURLOPT_USERAGENT and CURLOPT_MAXREDIRS requires HTTP protocol
 # CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
 $_ = '' if /CURLOPT_USERAGENT/
index 57fdbe18d89cf97683a8fb0fec10a8f0fa42ff95..cdf51cd0cf354f3e201a5a1b5030bff7bb64e009 100644 (file)
@@ -54,7 +54,7 @@ A004 FETCH 1 BODY[]
 A005 LOGOUT
 </protocol>
 <stripfile>
-# These options vary with configurations - just ignore them
+# These options vary with configurations - ignore them
 # CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
 $_ = '' if /CURLOPT_MAXREDIRS/
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
index 2c4804d5195af9deb0f963d4b2ce7a7876ecc4e4..d8d6115b1fdeac339c8afa94e7e84061d45c446b 100644 (file)
@@ -58,7 +58,7 @@ Content-Type: application/x-www-form-urlencoded
 </protocol>
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 98c018bc2699dfd036710f511ad163d86e058d0e..8a0d310785335ca5404716052e2b6b4a3fba3aa5 100644 (file)
@@ -54,7 +54,7 @@ Proxy-Connection: Keep-Alive
 <stripfile>
 # CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
 # CURLOPT_INTERLEAVEDATA requires RTSP protocol
-# configurations - just ignore them
+# configurations - ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
 $_ = '' if /CURLOPT_HTTP_VERSION/
index 422d88f69aeeea1d9d17ea2e55b4df8dd207b81b..fe9c9bdd920ba1ac9a8e4fe87bfa537ee1215dbe 100644 (file)
@@ -16,7 +16,7 @@ Server: Apache/1.3.27 (Darwin) PHP/4.1.2
 Content-Type: text/html; charset=iso-8859-1
 Connection: close
 
-GET received and served just fine. Thank you very much
+GET received and served fine. Thank you very much
 </data>
 </reply>
 
index 2a5fa6e3db1556e830b265604c2a93dd6b4b12ab..dfcefa302a166a1d0f506e27e4de49c1ed37166c 100644 (file)
@@ -16,7 +16,7 @@ Explanation for the duplicate 400 requests:
 
 libcurl does not detect that a given Digest password is wrong already on the
 first 401 response (as the data400 gives). libcurl will instead consider the
-new response just as a duplicate and it sends another and detects the auth
+new response as a duplicate and it sends another and detects the auth
 problem on the second 401 response!
 
 -->
index e0d7ba5513745771334b57cd01effe586a38a1a4..5027fd45da4b4482baa9b9b82ce0f77b3f843ce5 100644 (file)
@@ -21,7 +21,7 @@ Explanation for the duplicate 400 requests:
 
 libcurl does not detect that a given Digest password is wrong already on the
 first 401 response (as the data400 gives). libcurl will instead consider the
-new response just as a duplicate and it sends another and detects the auth
+new response as a duplicate and it sends another and detects the auth
 problem on the second 401 response!
 
 -->
index 41bd83818ef4c0800e6efb644218f7a7b9e698ac..14fc604830e5b9cc8301e4a46d62c87ba9ebb834 100644 (file)
@@ -31,7 +31,7 @@ HTTP PUT from a file but enforce chunked transfer-encoding
 -T %LOGDIR/file%TESTNUMBER -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
 </command>
 <file name="%LOGDIR/file%TESTNUMBER">
-just some tiny teeny contents
+some tiny teeny test contents
 </file>
 </client>
 
@@ -45,7 +45,7 @@ Accept: */*%CR
 Transfer-Encoding: chunked%CR
 %CR
 1e%CR
-just some tiny teeny contents
+some tiny teeny test contents
 %CR
 0%CR
 %CR
index 26bbda187e6ab3668d55d5a03bc18a2e10307541..aab6dc822b48840595691fe876ce92ba82ecfe76 100644 (file)
@@ -62,7 +62,7 @@ Connection: Upgrade
 </protocol>
 
 # This test used to check that "connection closed" was output, but
-# that is flaky since the outgoing PING just before might fail already
+# that is flaky since the outgoing PING before might fail already
 # and then the test exists before the output gets to be written
 </verify>
 </testcase>
index 5ef7a59010bc8f40248731417ce67db413503887..b0974a77a36fd3af490c5fc94246f3adfb4aa5e2 100644 (file)
@@ -10,7 +10,7 @@ HTTP GET
 # Server-side
 <reply>
 <data>
-No headers at all, just data swsclose
+No headers at all, data swsclose
 
 Let's get
 
index 8aea4fbb7ce4a0a4b4cb3fe36c034bd9f696432e..0d204a4f1310d8c2b7bdbeafe4ef6640219954dc 100644 (file)
@@ -35,7 +35,7 @@ chunky-trailer: header data
 http
 </server>
 <name>
-A non existing file with --etag-compare is just a blank
+A non existing file with --etag-compare is a blank
 </name>
 <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER
index 9463cd887fc553ade80f923e53d29b8654de7d80..8428d31395c9e78041dfcf43cf22c3323ff05a6f 100644 (file)
@@ -25,7 +25,7 @@ lib%TESTNUMBER
 SFTP with multi interface, remove handle early
 </name>
 
-# The command here uses 'localhost' just to make sure that curl_multi_perform
+# The command here uses 'localhost' to make sure that curl_multi_perform
 # does not reach too far in the first invoke. When using c-ares at least, the
 # name resolve causes it to return rather quickly and thus we could trigger
 # the problem we are looking to verify.
index 8e4d220c74803e2f48ba28632428dab0c9f4304a..03352ece66b9a41d3b696845cc41a16fa371dba6 100644 (file)
@@ -32,7 +32,7 @@ http
 proxy
 </features>
 <name>
-HTTP CONNECT with proxy returning just HTML and closing
+HTTP CONNECT with proxy returning HTML and closing
 </name>
 <command>
 http://test.example --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -sS
index 3ea2cb7b51a5207abec956e5ab0d2340544fa8db..6d6fcc303389c9e9c1db7581e1b1c6aafa2571c6 100644 (file)
@@ -24,7 +24,7 @@ smtp
 SMTP VRFY with custom request
 </name>
 
-# the custom request just does it lowercase to remain the same command
+# the custom request does it lowercase to remain the same command
 <command>
 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient --request "vrfy"
 </command>
index e1246dae187b64822fd644f8e0d160ad25fe2c3f..e5b413fa82caee9a9d7436cab485218768e3ca2e 100755 (executable)
@@ -31,7 +31,7 @@
 # TODO: Translate this into something that approximates a valid curl test:-)
 # Should be useful though even before such translation and a pile less work
 # to do this than that.  The pile of work required would include making an
-# ECH-enabled server and a DoH server. For now, this is just run manually.
+# ECH-enabled server and a DoH server. For now, this is run manually.
 #
 
 # set -x
@@ -1083,7 +1083,7 @@ else
   echo "NOT all good, log in $logfile"
 fi
 
-# send a mail to root (will be forwarded) but just once every 24 hours
+# send a mail to root (will be forwarded) but only once every 24 hours
 # 'cause we only really need "new" news
 itsnews="yes"
 age_of_news=0
index 88533019c8b186144bc3f732e3284b4c54319449..c1a677e4000b07073c2c450dc90b0c3d58227a72 100755 (executable)
@@ -562,8 +562,8 @@ sub protocolsetup {
             'LIST' => '150 here comes a directory',
             'NLST' => '150 here comes a directory',
             'CWD'  => '250 CWD command successful.',
-            'SYST' => '215 UNIX Type: L8', # just fake something
-            'QUIT' => '221 bye bye baby', # just reply something
+            'SYST' => '215 UNIX Type: L8', # fake something
+            'QUIT' => '221 bye bye baby', # reply something
             'MKD'  => '257 Created your requested directory',
             'REST' => '350 Yeah yeah we set it there for you',
             'DELE' => '200 OK OK OK whatever you say',
@@ -1143,7 +1143,7 @@ my $cmdid;
 my $selected;
 
 # Any IMAP parameter can come in escaped and in double quotes.
-# This function is dumb (so far) and just removes the quotes if present.
+# This function is dumb (so far) and removes the quotes if present.
 sub fix_imap_params {
     foreach (@_) {
         $_ = $1 if /^"(.*)"$/;
@@ -3289,7 +3289,7 @@ while(1) {
 
         my $delay = $delayreply{$FTPCMD};
         if($delay) {
-            # just go sleep this many seconds!
+            # go sleep this many seconds!
             logmsg("Sleep for $delay seconds\n");
             my $twentieths = $delay * 20;
             while($twentieths--) {
index ad52782de0a8165d4447a5c2969f69ab08a96b6a..fd3a99915e150df860484d726df24179296aa47d 100644 (file)
@@ -195,7 +195,7 @@ sub partexists {
 }
 
 # The code currently never calls this more than once per part per file, so
-# caching a result that is never used again just slows things down.
+# caching a result that is never used again only slows things down.
 # memoize('partexists', NORMALIZER => 'normalize_part');  # cache each result
 
 sub loadtest {
index ac636f2748b10f5efc5d3c3ec30bcea2342967a5..c9a95427b25dc6e0c8843ad061fc21422142df25 100644 (file)
@@ -124,7 +124,7 @@ our $CURLINFO=dirsepadd("../src/" . ($ENV{'CURL_DIRSUFFIX'} || '')) .
 
 our $VCURL=$CURL;  # what curl binary to use to verify the servers with
                    # VCURL is handy to set to the system one when the one you
-                   # just built hangs or crashes and thus prevent verification
+                   # built hangs or crashes and thus prevent verification
 # the path to the script that analyzes the memory debug output file
 our $memanalyze="$perl " . shell_quote("$srcdir/memanalyze.pl");
 our $valgrind;     # path to valgrind, or empty if disabled
index 006b6f381781d90d1fd7a893fc31b30cbcf149aa..14c66a8b42a605d6eff227fd8c0587ad6f515482 100755 (executable)
@@ -40,7 +40,7 @@ use serverhelp qw(
     );
 
 my $verbose = 0;     # set to 1 for debugging
-my $port = 8990;     # just a default
+my $port = 8990;     # a default
 my $unix_socket;     # location to place a listening Unix socket
 my $ipvnum = 4;      # default IP version of http server
 my $idnum = 1;       # default http server instance number
index 6e1352ec3a08c65c70995e23a3eae83ba869ad3f..69b31183d54656dfa0389e80f0faafea1d3312d5 100644 (file)
@@ -145,7 +145,7 @@ class TestDownload:
         ])
         r.check_response(http_status=200, count=count)
         # should have used at most 2 connections only (test servers allow 100 req/conn)
-        # it may be just 1 on slow systems where request are answered faster than
+        # it may be 1 on slow systems where request are answered faster than
         # curl can exhaust the capacity or if curl runs with address-sanitizer speed
         assert r.total_connects <= 2, "h2 should use fewer connections here"
 
@@ -417,7 +417,7 @@ class TestDownload:
         assert r.exit_code == 0, f'{client.dump_logs()}'
 
     # Special client that tests TLS session reuse in parallel transfers
-    # TODO: just uses a single connection for h2/h3. Not sure how to prevent that
+    # TODO: uses a single connection for h2/h3. Not sure how to prevent that
     @pytest.mark.parametrize("proto", Env.http_protos())
     def test_02_26_session_shared_reuse(self, env: Env, proto, httpd, nghttpx):
         url = f'https://{env.authority_for(env.domain1, proto)}/data-100k'
index 3483a28e8a268e2a2532d90ac1fc52ab67187042..19cada0c9e5727bceaa9a04c501d9abb9d2a2921 100644 (file)
@@ -100,7 +100,7 @@ class TestErrors:
         assert r.stats[0]['http_version'] == '1.1', r.dump_logs()
 
     # On the URL used here, Apache is doing an "unclean" TLS shutdown,
-    # meaning it sends no shutdown notice and just closes TCP.
+    # meaning it sends no shutdown notice and closes TCP.
     # The HTTP response delivers a body without Content-Length. We expect:
     # - http/1.0 to fail since it relies on a clean connection close to
     #   detect the end of the body
index 7a1bc25c0fdfb4df79dac4a4288e220e53c13cfc..69866baedf985e7c7785f6ae93c92283ae6a0d8c 100644 (file)
@@ -95,7 +95,7 @@ class TestAuth:
         if proto == 'h3' and not env.curl_uses_lib('ngtcp2'):
             # See <https://github.com/cloudflare/quiche/issues/1573>
             pytest.skip("quiche has problems with large requests")
-        # just large enough that nghttp2 will submit
+        # large enough that nghttp2 will submit
         password = 'x' * (47 * 1024)
         fdata = os.path.join(env.gen_dir, 'data-10m')
         curl = CurlClient(env=env)
index adbd6ecc597abb1180625c3a5055779a6be1019a..a57882f5202f06156096fee163bdb61eb4478b28 100644 (file)
@@ -148,7 +148,7 @@ class TestVsFTPD:
     @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
     @pytest.mark.skipif(condition=not Env.curl_is_debug(), reason="needs curl debug")
     @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs curl verbose strings")
-    def test_30_06_shutdownh_download(self, env: Env, vsftpd: VsFTPD):
+    def test_30_06_shutdown_download(self, env: Env, vsftpd: VsFTPD):
         docname = 'data-1k'
         curl = CurlClient(env=env)
         count = 1
@@ -166,7 +166,7 @@ class TestVsFTPD:
     @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
     @pytest.mark.skipif(condition=not Env.curl_is_debug(), reason="needs curl debug")
     @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs curl verbose strings")
-    def test_30_07_shutdownh_upload(self, env: Env, vsftpd: VsFTPD):
+    def test_30_07_shutdown_upload(self, env: Env, vsftpd: VsFTPD):
         docname = 'upload-1k'
         curl = CurlClient(env=env)
         srcfile = os.path.join(env.gen_dir, docname)
index 688d157f8f0233094035802fc4e57ac3bf76ac99..5858d9e461fa01a725b749e7de57370092cd58a6 100644 (file)
@@ -153,7 +153,7 @@ class TestVsFTPD:
     @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
     @pytest.mark.skipif(condition=not Env.curl_is_debug(), reason="needs curl debug")
     @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs curl verbose strings")
-    def test_31_06_shutdownh_download(self, env: Env, vsftpds: VsFTPD):
+    def test_31_06_shutdown_download(self, env: Env, vsftpds: VsFTPD):
         docname = 'data-1k'
         curl = CurlClient(env=env)
         count = 1
@@ -170,7 +170,7 @@ class TestVsFTPD:
     @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
     @pytest.mark.skipif(condition=not Env.curl_is_debug(), reason="needs curl debug")
     @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs curl verbose strings")
-    def test_31_07_shutdownh_upload(self, env: Env, vsftpds: VsFTPD):
+    def test_31_07_shutdown_upload(self, env: Env, vsftpds: VsFTPD):
         docname = 'upload-1k'
         curl = CurlClient(env=env)
         srcfile = os.path.join(env.gen_dir, docname)
index 19eec643c66b74160d58a3b691be52998a0dc0bd..b16766466139c8dc43fcb1b9eff432a98f7dc622 100644 (file)
@@ -166,7 +166,7 @@ class TestFtpsVsFTPD:
     @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
     @pytest.mark.skipif(condition=not Env.curl_is_debug(), reason="needs curl debug")
     @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs curl verbose strings")
-    def test_32_06_shutdownh_download(self, env: Env, vsftpds: VsFTPD):
+    def test_32_06_shutdown_download(self, env: Env, vsftpds: VsFTPD):
         docname = 'data-1k'
         curl = CurlClient(env=env)
         count = 1
@@ -183,7 +183,7 @@ class TestFtpsVsFTPD:
     @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
     @pytest.mark.skipif(condition=not Env.curl_is_debug(), reason="needs curl debug")
     @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs curl verbose strings")
-    def test_32_07_shutdownh_upload(self, env: Env, vsftpds: VsFTPD):
+    def test_32_07_shutdown_upload(self, env: Env, vsftpds: VsFTPD):
         docname = 'upload-1k'
         curl = CurlClient(env=env)
         srcfile = os.path.join(env.gen_dir, docname)
index 39c6d265f6f159710015fd28103bedba62f5cff2..9382ef70d9d2cca83a2727bcb2a2bed2aacec7cb 100644 (file)
@@ -285,7 +285,7 @@ class TestH3Proxy:
         )
 
         # An HTTP/3 target auto-triggers CONNECT-UDP even without --proxytunnel,
-        # just as HTTPS targets auto-trigger CONNECT. nghttpx does not support
+        # as HTTPS targets auto-trigger CONNECT. nghttpx does not support
         # CONNECT-UDP so this fails, which confirms auto-CONNECT-UDP is active.
         assert r.exit_code != 0, (
             "expected failure: h3 target auto-triggers CONNECT-UDP "
index f5be5ac4495c2989a6557ca3eacf1c471440e78b..8fb17349ab98bc628343a8c39d7ad455b8032851 100644 (file)
@@ -1239,7 +1239,7 @@ class CurlClient:
 
     def _perf_collapse(self, perf: PerfProfile, file_err):
         if not os.path.exists(perf.file):
-            raise Exception(f'dtrace output file does not exist: {perf.file}')
+            raise Exception(f'perf output file does not exist: {perf.file}')
         fg_collapse = os.path.join(self._fg_dir, 'stackcollapse-perf.pl')
         if not os.path.exists(fg_collapse):
             raise Exception(f'FlameGraph script not found: {fg_collapse}')
index 5e0f6400fb57b06b68956dd82412f64d0eb3c8d8..bd09c8b377d82783c3bdd6e1fc47d1c40656e632 100644 (file)
@@ -339,7 +339,7 @@ static int curltest_tweak_handler(request_rec *r)
           }
         }
         else if(!strcmp("id", arg)) {
-          /* just an id for repeated requests with curl's URL globbing */
+          /* an id for repeated requests with curl's URL globbing */
           request_id = val;
           continue;
         }
@@ -551,7 +551,7 @@ static int curltest_put_handler(request_rec *r)
         *s = '\0';
         val = s + 1;
         if(!strcmp("id", arg)) {
-          /* just an id for repeated requests with curl's URL globbing */
+          /* an id for repeated requests with curl's URL globbing */
           request_id = val;
           continue;
         }
@@ -748,7 +748,7 @@ static int curltest_sslinfo_handler(request_rec *r)
         *s = '\0';
         val = s + 1;
         if(!strcmp("id", arg)) {
-          /* just an id for repeated requests with curl's URL globbing */
+          /* an id for repeated requests with curl's URL globbing */
           request_id = val;
           continue;
         }
@@ -862,7 +862,7 @@ static int curltest_limit_handler(request_rec *r)
         *s = '\0';
         val = s + 1;
         if(!strcmp("id", arg)) {
-          /* just an id for repeated requests with curl's URL globbing */
+          /* an id for repeated requests with curl's URL globbing */
           request_id = val;
           continue;
         }
index a57277b205ee43598651a10f2544adbe592aeeaf..c244e5dc7e691a085550eeb7040b330793d76e5f 100644 (file)
@@ -201,7 +201,7 @@ CURLcode ws_recv_pong(CURL *curl, const char *expected_payload)
   return CURLE_RECV_ERROR;
 }
 
-/* just close the connection */
+/* close the connection */
 void ws_close(CURL *curl)
 {
   size_t sent;
index 7c4bb2df46aa685d44ff89c20c95d14f08adfc85..33191edc59663f86e334317511503b272ac7af84 100644 (file)
@@ -54,7 +54,7 @@ extern int unitfail; /* for unittests */
 #include "curlx/wait.h" /* for curlx_wait_ms() */
 
 #ifdef HAVE_SYS_SELECT_H
-/* since so many tests use select(), we can just as well include it here */
+/* since so many tests use select(), we can as well include it here */
 #include <sys/select.h>
 #endif
 
@@ -99,7 +99,7 @@ extern char *hexdump(const unsigned char *buf, size_t len);
 #ifndef CURL_DISABLE_WEBSOCKETS
 CURLcode ws_send_ping(CURL *curl, const char *send_payload);
 CURLcode ws_recv_pong(CURL *curl, const char *expected_payload);
-void ws_close(CURL *curl);  /* just close the connection */
+void ws_close(CURL *curl);  /* close the connection */
 #endif
 
 /*
index f6fe44c5e94cd6fe2b449eb3d6034fac1532df9d..f4552f21e600b61d9f6eac1f2d57b805223f8628 100644 (file)
@@ -64,7 +64,7 @@ static CURLcode test_lib1518(const char *URL)
   }
   else {
     test_setopt(curl, CURLOPT_URL, URL);
-    /* just to make it explicit and visible in this test: */
+    /* to make it explicit and visible in this test: */
     test_setopt(curl, CURLOPT_FOLLOWLOCATION, 0L);
   }
 
index c9668c0ddf1090aecf2e6d10dd91a4c26842ceed..1ef0be9c7522aa988fecb673402789846f1a34d7 100644 (file)
@@ -77,7 +77,7 @@ static CURLcode test_lib1537(const char *URL)
   curl_mprintf("escape -1 length: %s\n", ptr);
 
   /* weird input length */
-  outlen = 2017; /* just a value */
+  outlen = 2017; /* an arbitrary value */
   ptr = curl_easy_unescape(NULL, "moahahaha", -1, &outlen);
   curl_mprintf("unescape -1 length: %s %d\n", ptr, outlen);
 
index 29dbe0b70033d15aeed4edba18159df172460496..46c2610a3dbfc0ea93df56caeaa37e2a253cfadb 100644 (file)
@@ -61,20 +61,20 @@ static CURLcode test_lib1592(const char *URL)
     /* Since we could set the DNS server, presume we are working with a
        resolver that can be cancelled (i.e. c-ares).  Thus,
        curl_multi_remove_handle() should not block even when the resolver
-       request is outstanding.  So, set a request timeout _longer_ than the
+       request is outstanding. Thus, set a request timeout _longer_ than the
        test hang timeout so we will fail if the handle removal call incorrectly
        blocks. */
     timeout = TEST_HANG_TIMEOUT * 2;
   else {
     /* If we cannot set the DNS server, presume that we are configured to use
        a resolver that cannot be cancelled (i.e. the threaded resolver or the
-       non-threaded blocking resolver).  So, we just test that the
+       non-threaded blocking resolver). Thus, we test that the
        curl_multi_remove_handle() call does finish well within our test
        timeout.
 
        But, it is unlikely that the resolver request will take any time at
        all because we have not been able to configure the resolver to use an
-       non-responsive DNS server.  At least we exercise the flow.
+       non-responsive DNS server. At least we exercise the flow.
        */
     curl_mfprintf(stderr,
                   "CURLOPT_DNS_SERVERS not supported; "
index f7ead3406eb7b9691cf5d2610f792e1bf30712eb..9d6a7a12199a22a8d349ae6ba560607576f26483 100644 (file)
@@ -52,7 +52,7 @@ static CURLcode test_lib1908(const char *URL)
     curl_easy_reset(curl);
 
     /* using the same filename for the alt-svc cache, this clobbers the
-       content just written from the 'curldupe' handle */
+       content written from the 'curldupe' handle */
     curl_easy_cleanup(curl);
   }
   curl_global_cleanup();
index f265174891d797aa9b9bcd2f33f2d63a346271a5..a463b0fa16683b791cd899586d20897e92756993 100644 (file)
@@ -43,7 +43,7 @@ static CURLcode test_lib1911(const char *URL)
     return TEST_ERR_EASY_INIT;
   }
 
-  /* make it a null-terminated C string with just As */
+  /* make it a null-terminated C string with only As */
   memset(testbuf, 'A', MAX_INPUT_LENGTH + 1);
   testbuf[MAX_INPUT_LENGTH + 1] = 0;
 
index 502b60051717d717de816472566d09c445dc0141..be1e303beb5e85d758841ce7e805c1adcc883b2c 100644 (file)
@@ -51,7 +51,7 @@ static CURLcode test_lib1939(const char *URL)
         mresult = curl_multi_add_handle(multi, curl);
 
         if(!mresult)
-          /* Run the multi handle once, just enough to start establishing an
+          /* Run the multi handle once, enough to start establishing an
              HTTPS connection. */
           mresult = curl_multi_perform(multi, &running_handles);
 
index 608ba4e8b6d15f5a76a0f011698410e3c40a0a8d..a5db34226c15dced025ae070f01a065662a776b5 100644 (file)
@@ -34,7 +34,7 @@ static CURLcode test_lib1977(const char *URL)
   global_init(CURL_GLOBAL_ALL);
   easy_init(curl);
 
-  /* first transfer: set just the URL in the first CURLU handle */
+  /* first transfer: set the URL in the first CURLU handle */
   curl_url_set(curlu, CURLUPART_URL, URL, CURLU_DEFAULT_SCHEME);
   easy_setopt(curl, CURLOPT_CURLU, curlu);
 
index 845eea239a73981cfea7505fdb7b5719ba683ea7..013c13f43ec400db360140de99bb04d0905ae998 100644 (file)
@@ -41,7 +41,7 @@ static CURLcode test_lib3027(const char *URL)
       result = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
       /* MTDM fails with 550, so filetime should be -1 */
       if((result == CURLE_OK) && (filetime != -1)) {
-        /* we just need to return something which is not CURLE_OK */
+        /* we need to return something which is not CURLE_OK */
         result = CURLE_UNSUPPORTED_PROTOCOL;
       }
     }
index 358594c0377e0c71871c87ee1070200613051c45..355d99e9991c632e02121760c87ccfe4eb31557f 100644 (file)
@@ -44,7 +44,7 @@ static CURLcode test_lib501(const char *URL)
 
   test_setopt(curl, CURLOPT_HEADER, 1L);
 
-  /* just verify that setting this to -1 is fine */
+  /* verify that setting this to -1 is fine */
   test_setopt(curl, CURLOPT_MAXREDIRS, -1L);
 
   result = curl_easy_perform(curl);
index 7ad6894ae88b916fc33be3161031296a90a865a7..8eaa12b154a4749edef79321c606a8d96a35386c 100644 (file)
@@ -24,7 +24,7 @@
 #include "first.h"
 
 /*
- * This example shows an FTP upload, with a rename of the file just after
+ * This example shows an FTP upload, with a rename of the file right after
  * a successful upload.
  *
  * Example based on source code provided by Erick Nuwendam. Thanks!
index c961ca3347d87c0dd56e9b69086be0f753ba5621..b4b4c63cedeb84d0198b43c963fa0b5c91df87e4 100644 (file)
@@ -136,7 +136,7 @@ static int t518_test_rlimit(int keep_open)
       curl_mfprintf(stderr, "raising soft limit up to OPEN_MAX\n");
       rl.rlim_cur = OPEN_MAX;
       if(setrlimit(RLIMIT_NOFILE, &rl) != 0) {
-        /* on failure do not abort just issue a warning */
+        /* on failure do not abort, only issue a warning */
         t518_store_errmsg("setrlimit() failed", errno);
         curl_mfprintf(stderr, "%s\n", t518_msgbuff);
         t518_msgbuff[0] = '\0';
@@ -147,7 +147,7 @@ static int t518_test_rlimit(int keep_open)
     curl_mfprintf(stderr, "raising soft limit up to hard limit\n");
     rl.rlim_cur = rl.rlim_max;
     if(setrlimit(RLIMIT_NOFILE, &rl) != 0) {
-      /* on failure do not abort just issue a warning */
+      /* on failure do not abort, only issue a warning */
       t518_store_errmsg("setrlimit() failed", errno);
       curl_mfprintf(stderr, "%s\n", t518_msgbuff);
       t518_msgbuff[0] = '\0';
index 16e2f1b333e3fcf8cc666dd79a850e3836751e1c..9b99b7489948db714747fb2f09bfb5b8340e6acc 100644 (file)
@@ -137,7 +137,7 @@ static int t537_test_rlimit(int keep_open)
       curl_mfprintf(stderr, "raising soft limit up to OPEN_MAX\n");
       rl.rlim_cur = OPEN_MAX;
       if(setrlimit(RLIMIT_NOFILE, &rl) != 0) {
-        /* on failure do not abort just issue a warning */
+        /* on failure do not abort, only issue a warning */
         t537_store_errmsg("setrlimit() failed", errno);
         curl_mfprintf(stderr, "%s\n", t537_msgbuff);
         t537_msgbuff[0] = '\0';
@@ -148,7 +148,7 @@ static int t537_test_rlimit(int keep_open)
     curl_mfprintf(stderr, "raising soft limit up to hard limit\n");
     rl.rlim_cur = rl.rlim_max;
     if(setrlimit(RLIMIT_NOFILE, &rl) != 0) {
-      /* on failure do not abort just issue a warning */
+      /* on failure do not abort, only issue a warning */
       t537_store_errmsg("setrlimit() failed", errno);
       curl_mfprintf(stderr, "%s\n", t537_msgbuff);
       t537_msgbuff[0] = '\0';
index f653b36c13285de3abf09d28de8b1b3d054e3ac6..bec12b9c5a13f11bd59b8f192f5178e291b58600 100755 (executable)
@@ -140,7 +140,7 @@ elsif($ARGV[0] eq "postprocess") {
                 my $line = sprintf("%s%s???????%5d U         U %15d %s %s\n", $1,$2,$5,$6,$7,$8);
                 push @canondir, $line;
             } else {
-                # Unexpected format; just pass it through and let the test fail
+                # Unexpected format; pass it through and let the test fail
                 push @canondir, $_;
             }
         }
index ae0e3ae9415f5c4b2075215cfa1cf8863ad12320..a9a4880018f549ee46be8555221f6e114a9c097c 100755 (executable)
@@ -167,7 +167,7 @@ class Negotiator:
             log.debug("Starting negotiation (IAC)")
             self.state = self.START_NEG
         else:
-            # Just append the incoming byte to the buffer
+            # Append the incoming byte to the buffer
             buffer.append(byte_int)
 
     def start_neg(self, byte_int):
index d23ed7e6373e726546c5e78e960e9fefff9651e7..cbe914eee08734972d43c313a80634299d9a8171 100755 (executable)
@@ -38,7 +38,7 @@ use serverhelp qw(
     );
 
 my $verbose = 0;     # set to 1 for debugging
-my $port = 8990;     # just a default
+my $port = 8990;     # a default
 my $ipvnum = 4;      # default IP version of rtsp server
 my $idnum = 1;       # default rtsp server instance number
 my $proto = 'rtsp';  # protocol the rtsp server speaks
index cc8fa51b29e2b1ee66bf82875082d521dac90179..cd0572a59e17116943a93d554c4ee76c39cce825 100755 (executable)
@@ -1724,8 +1724,7 @@ sub singletest_check {
         my @sout = sort @out;
 
         if($hostname) {
-            # when a hostname is set, we filter out requests to just this
-            # pattern
+            # when a hostname is set, we filter out requests to this pattern
             @sout = grep {/$hostname/} @sout;
         }
 
@@ -2675,7 +2674,7 @@ if($valgrind) {
         # since valgrind 2.1.x, '--tool' option is mandatory
         # use it, if it is supported by the version installed on the system
         # (this happened in 2003, so we could probably do not need to care about
-        # that old version any longer and just delete this check)
+        # that old version any longer and delete this check)
         runclient("valgrind --help 2>&1 | grep -- --tool >$dev_null 2>&1");
         if(($? >> 8)) {
             $valgrind_tool="";
@@ -2690,7 +2689,7 @@ if($valgrind) {
 
         # valgrind 3 renamed the --logfile option to --log-file!!!
         # (this happened in 2005, so we could probably do not need to care about
-        # that old version any longer and just delete this check)
+        # that old version any longer and delete this check)
         my $ver=join(' ', runclientoutput("valgrind --version"));
         # cut off all but digits and dots
         $ver =~ s/[^0-9.]//g;
@@ -3212,7 +3211,7 @@ while(1) {
     $endwaitcnt += $runnerwait;
     if($endwaitcnt >= 10) {
         # Once all tests have been scheduled on a runner at the end of a test
-        # run, we just wait for their results to come in. If we are still
+        # run, we wait for their results to come in. If we are still
         # waiting after a couple of minutes ($endwaitcnt multiplied by
         # $runnerwait, plus $jobs because that number will not time out), display
         # the same test runner status as we give with a SIGUSR1. This will
index ae7a2c464996b9bf08ec395f56939f80bac6efaf..7e64e1d894c8c52adc117d880ae83f41a43123aa 100755 (executable)
@@ -24,7 +24,7 @@
 #***************************************************************************
 
 # This is the HTTPS, FTPS, POP3S, IMAPS, SMTPS, server used for curl test
-# harness. Actually just a layer that runs stunnel properly using the
+# harness. Actually a layer that runs stunnel properly using the
 # non-secure test harness servers.
 
 use strict;
@@ -50,7 +50,7 @@ my $stunnel = "stunnel";
 
 my $verbose=0; # set to 1 for debugging
 
-my $accept_port = 8991; # just our default, weird enough
+my $accept_port = 8991; # our default, weird enough
 my $target_port = 8999; # default test http-server port
 
 my $stuncert;
@@ -370,7 +370,7 @@ if($tstunnel_windows) {
     # new process to the parent waiting perl.exe and sh.exe processes.
 
     # exec() should never return back here to this process. We protect
-    # ourselves by calling die() just in case something goes really bad.
+    # ourselves by calling die() in case something goes really bad.
     die "error: exec() has returned";
 }
 
index fe3212a15ce71a880182c812bc6fa0ffcd5b3f10..226bbc4412438e2c1f324d8b75aba41531058cab 100644 (file)
@@ -202,7 +202,7 @@ static int decodedata(char **buf,  /* dest buffer */
     /*
      * currently there is no way to tell apart an OOM condition in
      * curlx_base64_decode() from zero length decoded data. For now,
-     * let's just assume it is an OOM condition, currently we have
+     * let's assume it is an OOM condition, currently we have
      * no input for this function that decodes to zero length data.
      */
     free(buf64);
@@ -231,7 +231,7 @@ static int decodedata(char **buf,  /* dest buffer */
  * and the size of the data is stored at the addresses that caller specifies.
  *
  * If the returned data is a string the returned size will be the length of
- * the string excluding null-termination. Otherwise it will just be the size
+ * the string excluding null-termination. Otherwise it will be the size
  * of the returned binary data.
  *
  * Calling function is responsible to free returned buffer.
index 97b2ba40d9d0bb7fe17f550169eea4e41ea5e207..3684cf0f92919b9c9600cc5d4255fc740a8226e6 100644 (file)
@@ -97,7 +97,7 @@ struct rtspd_httprequest {
 #define CMD_AUTH_REQUIRED "auth_required"
 
 /* 'idle' means that it will accept the request fine but never respond
-   any data. Just keep the connection alive. */
+   any data. Keep the connection alive. */
 #define CMD_IDLE "idle"
 
 /* 'stream' means to send a never-ending stream of data */
@@ -890,7 +890,7 @@ static int rtspd_send_doc(curl_socket_t sock, struct rtspd_httprequest *req)
 
   responsesize = count;
   do {
-    /* Ok, we send no more than 200 bytes at a time, just to make sure that
+    /* Ok, we send no more than 200 bytes at a time, to make sure that
        larger chunks are split up so that the client will need to do multiple
        recv() calls to get it and thus we exercise that code better */
     size_t num = count;
index 94d6324251665ab52b6bd50a786998105f8a3ecb..fabf6864e04e9b311e0f79d07d046b94fa359b0b 100644 (file)
  * 'exit_signal_handler' for both signals.
  *
  * The 'exit_signal_handler' upon the first SIGINT or SIGTERM received signal
- * will just set to one the global var 'got_exit_signal' storing in global var
+ * sets to one the global var 'got_exit_signal' storing in global var
  * 'exit_signal' the signal that triggered this change.
  *
  * Nothing fancy that could introduce problems is used, the program at certain
  * points in its normal flow checks if var 'got_exit_signal' is set and in
- * case this is true it just makes its way out of loops and functions in
- * structured and well behaved manner to achieve proper program cleanup and
- * termination.
+ * case this is true it makes its way out of loops and functions in structured
+ * and well behaved manner to achieve proper program cleanup and termination.
  *
  * Even with the above mechanism implemented it is worthwhile to note that
  * other signals might still be received, or that there might be systems on
@@ -172,7 +171,7 @@ static ssize_t write_wincon(int fd, const void *buf, size_t count)
 #endif
 
 /* On Windows, we sometimes get this for a broken pipe, seemingly
- * when the client just closed stdin? */
+ * when the client closed stdin? */
 #define CURL_WIN32_EPIPE 109
 
 /*
@@ -897,7 +896,7 @@ static bool disc_handshake(void)
         return FALSE;
     }
     else if(!memcmp("QUIT", buffer, 4)) {
-      /* just die */
+      /* die */
       logmsg("quits");
       return FALSE;
     }
@@ -945,7 +944,7 @@ static bool juggle(curl_socket_t *sockfdp,
   }
 
 #ifdef HAVE_GETPPID
-  /* As a last resort, quit if sockfilt process becomes orphan. Just in case
+  /* As a last resort, quit if sockfilt process becomes orphan. In case
      parent ftpserver process has died without killing its sockfilt children */
   if(getppid() <= 1) {
     logmsg("process becomes orphan, exiting");
@@ -1055,7 +1054,7 @@ static bool juggle(curl_socket_t *sockfdp,
            buffer[0], buffer[1], buffer[2], buffer[3]);
 
     if(!memcmp("PING", buffer, 4)) {
-      /* send reply on stdout, just proving we are alive */
+      /* send reply on stdout, proving we are alive */
       if(!write_stdout("PONG\n", 5))
         return FALSE;
     }
@@ -1073,7 +1072,7 @@ static bool juggle(curl_socket_t *sockfdp,
         return FALSE;
     }
     else if(!memcmp("QUIT", buffer, 4)) {
-      /* just die */
+      /* die */
       logmsg("quits");
       return FALSE;
     }
index c2f62384b8df981bada201b0226c189f2009c07e..7dfa8b79e2fdff3b9625e6e0f7d5cf3e097537b3 100644 (file)
@@ -113,7 +113,7 @@ static const char *cmdfile = "log/server.cmd";
 #define CMD_AUTH_REQUIRED "auth_required"
 
 /* 'idle' means that it will accept the request fine but never respond
-   any data. Just keep the connection alive. */
+   any data. Keep the connection alive. */
 #define CMD_IDLE "idle"
 
 /* 'stream' means to send a never-ending stream of data */
@@ -304,7 +304,7 @@ static int sws_parse_servercmd(struct sws_httprequest *req)
       else {
         logmsg("Unknown <servercmd> instruction found: %s", cmd);
       }
-      /* try to deal with CRLF or just LF */
+      /* try to deal with CRLF or LF */
       check = strchr(cmd, '\r');
       if(!check)
         check = strchr(cmd, '\n');
@@ -966,7 +966,7 @@ static int sws_send_doc(curl_socket_t sock, struct sws_httprequest *req)
 
   responsesize = count;
   do {
-    /* Ok, we send no more than N bytes at a time, just to make sure that
+    /* Ok, we send no more than N bytes at a time, to make sure that
        larger chunks are split up so that the client will need to do multiple
        recv() calls to get it and thus we exercise that code better */
     size_t num = count;
index 44e7976f1cd488dbeb921bb41372424871b7017a..d81d3d39d25623247190374cc5aba2043cc85d2b 100644 (file)
@@ -413,7 +413,7 @@ static ssize_t write_behind(struct testcase *test, int convert)
 
   b = &bfs[nextone];
   if(b->counter < -1)             /* anything to flush? */
-    return 0;                     /* just nop if nothing to do */
+    return 0;                     /* nop if nothing to do */
 
   if(!test->ofile) {
     char outfile[256];
@@ -453,11 +453,11 @@ static ssize_t write_behind(struct testcase *test, int convert)
   while(ct--) {                   /* loop over the buffer */
     c = (unsigned char)*p++;      /* pick up a character */
     if(prevchar == '\r') {        /* if prev char was cr */
-      if(c == '\n')               /* if have cr,lf then just */
+      if(c == '\n')                            /* if have cr,lf then */
         curl_lseek(test->ofile, -1, SEEK_CUR); /* smash lf on top of the cr */
       else if(c == '\0')          /* if have cr,nul then */
-        goto skipit;              /* just skip over the putc */
-      /* else just fall through and allow it */
+        goto skipit;              /* skip over the putc */
+      /* else fall through and allow it */
     }
     /* formerly
        putc(c, file); */
@@ -570,7 +570,7 @@ static int tftpd_parse_servercmd(struct testcase *req)
       else {
         logmsg("Unknown <servercmd> instruction found: %s", cmd);
       }
-      /* try to deal with CRLF or just LF */
+      /* try to deal with CRLF or LF */
       check = strchr(cmd, '\r');
       if(!check)
         check = strchr(cmd, '\n');
@@ -858,7 +858,7 @@ send_ack:
   rap->th_block = htons(recvblock);
   (void)swrite(peer, &ackbuf.storage[0], 4);
 #if defined(HAVE_ALARM) && defined(SIGALRM)
-  mysignal(SIGALRM, justtimeout);        /* just abort read on timeout */
+  mysignal(SIGALRM, justtimeout);        /* abort read on timeout */
   alarm(rexmtval);
 #endif
   /* normally times out and quits */
index 3f345ad74a4454fdc3fbb8373dd30a5b58614d43..7544c8b62fd1584622ebbf170bb57f14e3283e2d 100644 (file)
@@ -67,7 +67,7 @@ use testutil qw(
 our $logfile;  # server log filename, for logmsg
 
 #***************************************************************************
-# Just for convenience, test harness uses 'https' and 'httptls' literals as
+# For convenience, test harness uses 'https' and 'httptls' literals as
 # values for 'proto' variable in order to differentiate different servers.
 # 'https' literal is used for stunnel based https test servers, and 'httptls'
 # is used for non-stunnel https test servers.
index db01c1f501df16e581593ef2f44fdf9dc1eaeb4a..33fcaaa5507f14b60be29e2ca6c6001befaf3c2a 100644 (file)
@@ -265,7 +265,7 @@ sub init_serverpidfile_hash {
 }
 
 #######################################################################
-# Check if a given child process has just died. Reaps it if so.
+# Check if a given child process has died. Reaps it if so.
 #
 sub checkdied {
     my $pid = $_[0];
@@ -354,7 +354,7 @@ sub startnew {
         exec("exec $cmd") || die "Cannot exec() $cmd: $!";
 
         # exec() should never return back here to this process. We protect
-        # ourselves by calling die() just in case something goes really bad.
+        # ourselves by calling die() in case something goes really bad.
         die "error: exec() has returned";
     }
 
@@ -382,17 +382,17 @@ sub startnew {
         $pid2 = pidfromfile($pidfile, 0);
         if(($pid2 > 0) && pidexists($pid2)) {
             # if $pid2 is valid, then make sure this pid is alive, as
-            # otherwise it is just likely to be the _previous_ pidfile or
+            # otherwise it is likely to be the _previous_ pidfile or
             # similar!
             last;
         }
         if(checkdied($child)) {
             logmsg "startnew: child process has died, server might start up\n"
                 if($verbose);
-            # We cannot just abort waiting for the server with a
+            # We cannot abort waiting for the server with a
             # return (-1,-1);
             # because the server might have forked and could still start
-            # up normally. Instead, just reduce the amount of time we remain
+            # up normally. Instead, reduce the amount of time we remain
             # waiting.
             $count >>= 2;
         }
@@ -1012,7 +1012,7 @@ sub verifytelnet {
 # particular can take a long time to start if it needs to generate
 # keys on a slow or loaded host.
 #
-# Just for convenience, test harness uses 'https' and 'httptls' literals
+# For convenience, test harness uses 'https' and 'httptls' literals
 # as values for 'proto' variable in order to differentiate different
 # servers. 'https' literal is used for stunnel based https test servers,
 # and 'httptls' is used for non-stunnel https test servers.
index 000dda76e76a86c8b16487f1322206b92e201bc8..9b38c4695a73b6f05e0722ebbf9fc307d920e988 100755 (executable)
@@ -76,7 +76,7 @@ class ShutdownHandler(threading.Thread):
         signal.signal(signal.SIGTERM, self._sighandler)
 
     def __exit__(self, *_):
-        # Call for shutdown just in case it was not done already
+        # Call for shutdown in case it was not done already
         self.shutdown_event.set()
         # Wait for thread, and therefore also the server, to finish
         self.join()
index 58e64d2f4ed1ba4e96255bbcdb41f810be4d44a7..4133e86db61f06d48a842bb1a694805d2ee24b91 100755 (executable)
@@ -1190,7 +1190,7 @@ if($sshdid =~ /OpenSSH-Windows/) {
     # new process to the parent waiting perl.exe and sh.exe processes.
 
     # exec() should never return back here to this process. We protect
-    # ourselves by calling die() just in case something goes really bad.
+    # ourselves by calling die() in case something goes really bad.
     die "error: exec() has returned";
 }
 
index 0c9ae70ed5f44b74ec12877ed629c62075c25ef6..845453d8a10bd66b9a01f34eb8c279b07122cce8 100755 (executable)
@@ -165,7 +165,7 @@ close $s;
 
 my $ignored=0;
 for my $e (sort @syms) {
-    # OBSOLETE - names that are just placeholders for a position where we
+    # OBSOLETE - names that are placeholders for a position where we
     # previously had a name, that is now removed. The OBSOLETE names should
     # never be used for anything.
     #
@@ -176,7 +176,7 @@ for my $e (sort @syms) {
     #
     # CURL_TEMP_ - are defined and *undefined* again within the file
     #
-    # *_LAST and *_LASTENTRY are just suffix for the placeholders used for the
+    # *_LAST and *_LASTENTRY are suffix for the placeholders used for the
     # last entry in many enum series.
     #
 
index 6e2c9141afca7d7bd9771a4a2445a8b832dad693..baeff857626b1ab45d579c10294c5d4eacacc1a3 100755 (executable)
@@ -158,7 +158,7 @@ sub scanmanpage {
     while(<$m>) {
         chomp;
         if($_ =~ /^.so /) {
-            # this man page is just a referral
+            # this man page is a referral
             close($m);
             return;
         }
index bb96bb743eade1d8c551f3cccc8310bbcfa3458b..2ea46dccf94bc719e5cf37537a8642e021098167 100755 (executable)
@@ -38,7 +38,7 @@ use serverhelp qw(
     );
 
 my $verbose = 0;     # set to 1 for debugging
-my $port = 8997;     # just a default
+my $port = 8997;     # a default
 my $ipvnum = 4;      # default IP version of tftp server
 my $idnum = 1;       # default tftp server instance number
 my $proto = 'tftp';  # protocol the tftp server speaks
index 8a10af69d606c6f5151d69c6cce0ee0b28ed9040..49c48e3b2c21735ae34e47db207b4bc26fce1499 100644 (file)
@@ -44,7 +44,7 @@ static void t1303_stop(struct Curl_easy *easy)
   curl_global_cleanup();
 }
 
-/* BASE is just a define to make us fool around with decently large number so
+/* BASE is a define to make us fool around with decently large number so
    that we are not zero-based */
 #define BASE 1000000
 
index 90a75b7e5584462a8c55b01fc7fe85a3c0bec181..356fa2a6c98544eea10890ea89481c3f657eb2b1 100644 (file)
@@ -46,7 +46,7 @@ static CURLcode t1609_setup(void)
      we set address using CURLOPT_RESOLVE,
      it usually marks as permanent (by setting timestamp to zero). However,
      if address already exists
-     in the cache, then it does not mark it, but just leaves it as it is.
+     in the cache, then it does not mark it, but leaves it as it is.
      So we fixing this by timestamp to zero if address already exists too.
 
   Test:
index 7e26a158a13ef78767c10179a15a41bf12bc3bee..8ea9c3e7113fd19bd9d2b59539001ddcc03602d2 100644 (file)
@@ -108,7 +108,7 @@ static CURLcode test_unit1615(const char *arg)
   };
 
   unsigned char output_buf[CURL_SHA512_256_DIGEST_LENGTH];
-  const unsigned char *computed_hash; /* Just to mute compiler warning */
+  const unsigned char *computed_hash; /* to mute compiler warning */
 
   /* Mute compiler warnings in 'verify_memory' macros below */
   computed_hash = output_buf;
index be52ba2d83a8258f5722d702b03da6699408e7fd..370b65a4fa7312fddf6d1ff6a96f831f65c83131 100644 (file)
@@ -52,7 +52,7 @@ static CURLcode test_unit1625(const char *arg)
     { "Encoding: a, chunked, ninja", "Encoding:", "chunked", TRUE },
     /* empty incoming header */
     { "Encoding:", "Encoding:", "chunked", FALSE },
-    /* just spaces in header */
+    /* spaces in header */
     { "Encoding:   ", "Encoding:", "chunked", FALSE },
     /* last among several with no spaces */
     { "Encoding: ab,cd,ef,gh,ig,kl", "Encoding:", "kl", TRUE },
index 7d940df0559385a4f5fb093ccc69bc864797c30a..3b1a5a99aefe77ae762ba13c2e1e92d9642c4403 100644 (file)
@@ -119,7 +119,7 @@ static CURLcode test_unit1652(const char *arg)
    * Any input that long or longer will truncated, ending in '...\n'.
    */
 
-  /* A string just long enough to not be truncated */
+  /* A string long enough to not be truncated */
   memset(input, '\0', sizeof(input));
   memset(input, 'A', 2045);
   Curl_infof(easy, "%s", input);
@@ -130,7 +130,7 @@ static CURLcode test_unit1652(const char *arg)
   fail_unless(output[sizeof(output) - 1] == '\0',
               "No truncation of infof input");
 
-  /* Just over the limit without newline for truncation via '...' */
+  /* Over the limit without newline for truncation via '...' */
   memset(input + 2045, 'A', 4);
   Curl_infof(easy, "%s", input);
   curl_mfprintf(stderr, "output len %zu: %s", strlen(output), output);
@@ -138,7 +138,7 @@ static CURLcode test_unit1652(const char *arg)
   fail_unless(output[sizeof(output) - 1] == '\0',
               "Truncation of infof input 1");
 
-  /* Just over the limit with newline for truncation via '...' */
+  /* Over the limit with newline for truncation via '...' */
   memset(input + 2045, 'A', 4);
   memset(input + 2045 + 4, '\n', 1);
   Curl_infof(easy, "%s", input);
index 54f930b8b47401d2310934a490923429c199d84e..78a08a2d8b536b0845e48ad2c6711b2cca7e0850 100644 (file)
@@ -51,7 +51,7 @@ static CURLcode test_unit1655(const char *arg)
     static const char toolong[] =
       /* ..|....1.........2.........3.........4.........5.........6... */
       /* 3456789012345678901234567890123456789012345678901234567890123 */
-      "here.is.a.hostname.which.is.just.barely.too.long."   /* 49:  49 */
+      "here.is.a.hostname.which.is.only.barely.too.long."   /* 49:  49 */
       "to.be.encoded.as.a.QNAME.of.the.maximum.allowed.length."
                                                             /* 55: 104 */
       "which.is.256.including.a.final.zero-length.label."   /* 49: 153 */
index 62b4ea009598f2a5861d5d87d32ffd21edb02c13..f9259f1c764b9b759d2cc926358f13a09cb5a579 100644 (file)
@@ -45,7 +45,7 @@ static CURLcode test_unit1660(const char *arg)
   struct testit {
     const char *host;
     const char *chost;     /* if non-NULL, use to lookup with */
-    const char *hdr;       /* if NULL, just do the lookup */
+    const char *hdr;       /* if NULL, do the lookup */
     const CURLcode result; /* parse result */
   };
 
index a86dc146a1e7ce18f0fab17225f0f010abae14ff..362b16b4d548cfb1719fc7e5311257639489f180 100644 (file)
@@ -146,7 +146,7 @@ static CURLcode test_unit1666(const char *arg)
           "\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"
           "\x01\x01\x01\x01\x01\x01\x01\x01"),
       "", CURLE_TOO_LARGE },
-    /* one byte shorter than the previous is just below the limit: */
+    /* one byte shorter than the previous is below the limit: */
     { OID("\x2b\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"
           "\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"
           "\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"
index 47d91ce5530b85dcba363e9afb225f3d45747e43..a28028c52b8730da335ce29112fd54f88cf43698 100644 (file)
@@ -160,7 +160,7 @@ static CURLcode cf_test_adjust_pollset(struct Curl_cfilter *cf,
                                        struct easy_pollset *ps)
 {
   struct cf_test_ctx *ctx = cf->ctx;
-  /* just for testing, give one socket with events back */
+  /* for testing, give one socket with events back */
   return Curl_pollset_set(data, ps, ctx->idx, TRUE, TRUE);
 }