summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2014-12-10 20:00:07 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 15:08:35 +0100
commitcc13b327297bb616f8adca10c7503581c8bc5b93 (patch)
treef96e8c7dfdbcd2b0c9b825514e40f6f9cd95bd54 /src/shared/util.c
parent7517e17443225fafea86b21e42a36af69feb1dbc (diff)
shared: correct spacing near eol in code comments
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 26a4f72b43..6383c0f80a 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -558,7 +558,7 @@ const char* split(const char **state, size_t *l, const char *separator, bool quo
*l = strcspn_escaped(current + 1, quotechars);
if (current[*l + 1] == '\0' ||
(current[*l + 2] && !strchr(separator, current[*l + 2]))) {
- /* right quote missing or garbage at the end*/
+ /* right quote missing or garbage at the end */
*state = current;
return NULL;
}
@@ -1436,7 +1436,7 @@ char *cunescape_length_with_prefix(const char *s, size_t length, const char *pre
}
case 0:
- /* premature end of string.*/
+ /* premature end of string. */
*(t++) = '\\';
goto finish;
@@ -3662,7 +3662,7 @@ char *unquote(const char *s, const char* quotes) {
/* This is rather stupid, simply removes the heading and
* trailing quotes if there is one. Doesn't care about
* escaping or anything. We should make this smarter one
- * day...*/
+ * day... */
l = strlen(s);
if (l < 2)