]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Reformat worker-connection.c
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 6 May 2021 07:11:24 +0000 (10:11 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 14 Jun 2021 14:56:40 +0000 (17:56 +0300)
src/indexer/worker-connection.c

index 35a3b95cb3418819e8b3b812892449ebed5b0f91..3402116531597cda67a1f0ff16576d1a29c63b91 100644 (file)
@@ -45,6 +45,7 @@ worker_connection_create(const char *socket_path,
        struct worker_connection *conn;
 
        conn = i_new(struct worker_connection, 1);
+
        conn->refcount = 1;
        conn->socket_path = i_strdup(socket_path);
        conn->callback = callback;
@@ -95,9 +96,9 @@ worker_connection_input_line(struct worker_connection *conn, const char *line)
 {
        int percentage;
        /* return -1 -> error
-                  0 -> request completed (100%)
-                  1 -> request continues (<100%)
-        */
+                  0 -> request completed (100%)
+                  1 -> request continues (<100%)
+       */
        int ret = 1;
 
        if (str_to_int(line, &percentage) < 0 ||