kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 91fb225e5c51809fa06b1287056bd5b0eb544fc0
parent 12e1820a4f1e4aafb93fdac49e482393bc951f94
Author: Joris Vink <joris@coders.se>
Date:   Fri, 12 Feb 2016 12:00:15 +0100

Merge pull request #109 from fahlgren/cleanup

Cleanup
Diffstat:
includes/http.h | 10+++++-----
src/worker.c | 2+-
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/includes/http.h b/includes/http.h @@ -70,7 +70,7 @@ struct http_arg { #define COPY_ARG_TYPE(v, t) \ do { \ *(t *)nout = v; \ - } while (0); + } while (0) #define COPY_ARG_INT64(type, sign) \ do { \ @@ -80,7 +80,7 @@ struct http_arg { if (err != KORE_RESULT_OK) \ return (KORE_RESULT_ERROR); \ COPY_ARG_TYPE(nval, type); \ - } while (0); + } while (0) #define COPY_ARG_INT(min, max, type) \ do { \ @@ -90,21 +90,21 @@ struct http_arg { if (err != KORE_RESULT_OK) \ return (KORE_RESULT_ERROR); \ COPY_ARG_TYPE(nval, type); \ - } while (0); + } while (0) #define COPY_AS_INTTYPE_64(type, sign) \ do { \ if (nout == NULL) \ return (KORE_RESULT_ERROR); \ COPY_ARG_INT64(type, sign); \ - } while (0); + } while (0) #define COPY_AS_INTTYPE(min, max, type) \ do { \ if (nout == NULL) \ return (KORE_RESULT_ERROR); \ COPY_ARG_INT(min, max, type); \ - } while (0); + } while (0) #define http_argument_type(r, n, so, no, t) \ http_argument_get(r, n, so, no, t) diff --git a/src/worker.c b/src/worker.c @@ -109,7 +109,7 @@ kore_worker_init(void) kore_debug("kore_worker_init(): starting %d workers", worker_count); if (worker_count > cpu_count) { - kore_debug("kore_worker_init(): more workers then cpu's"); + kore_debug("kore_worker_init(): more workers than cpu's"); } cpu = 0;