diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-01-31 16:16:55 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-02-01 11:38:35 +0100 |
commit | fddb524d8a9fcfbf943c88b5c7d13eba7ac0083d (patch) | |
tree | 0461f74fc302a9873184b07215c81e7868e664bb /src/basic/path-util.c | |
parent | 7519b880e73859156e4fb64a7db870a9bfb72b9f (diff) | |
download | systemd-fddb524d8a9fcfbf943c88b5c7d13eba7ac0083d.tar.gz |
basic: reword some comments
Without commas, the sentences can be hard to parse.
Diffstat (limited to 'src/basic/path-util.c')
-rw-r--r-- | src/basic/path-util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/basic/path-util.c b/src/basic/path-util.c index b442eebb87..40a819d47d 100644 --- a/src/basic/path-util.c +++ b/src/basic/path-util.c @@ -519,17 +519,17 @@ char* path_extend_internal(char **x, ...) { va_list ap; bool slash; - /* Joins all listed strings until the sentinel and places a "/" between them unless the strings end/begin - * already with one so that it is unnecessary. Note that slashes which are already duplicate won't be - * removed. The string returned is hence always equal to or longer than the sum of the lengths of each - * individual string. + /* Joins all listed strings until the sentinel and places a "/" between them unless the strings + * end/begin already with one so that it is unnecessary. Note that slashes which are already + * duplicate won't be removed. The string returned is hence always equal to or longer than the sum of + * the lengths of the individual strings. * * The first argument may be an already allocated string that is extended via realloc() if * non-NULL. path_extend() and path_join() are macro wrappers around this function, making use of the * first parameter to distinguish the two operations. * - * Note: any listed empty string is simply skipped. This can be useful for concatenating strings of which some - * are optional. + * Note: any listed empty string is simply skipped. This can be useful for concatenating strings of + * which some are optional. * * Examples: * |