summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pikul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pikul.c b/pikul.c
index feddbf0..76e815f 100644
--- a/pikul.c
+++ b/pikul.c
@@ -395,7 +395,7 @@ char *pikul_shopify(char *origins[], char *destinations[], long grams)
const size_t json_len = strlen(json);
json = realloc(json, json_len + rate_len + 1);
strlcpy(&json[json_len], rate, rate_len + 1);
- infix_len += rate_len - i++ ? 0 : strlen(",");
+ infix_len += rate_len - (i++ ? 0 : strlen(","));
}
pikul_free_services(services[company]);
}