From: Jean-Philippe Orsini Date: Fri, 26 Sep 2014 20:39:22 +0000 (+0200) Subject: accept version 2.3.0 (not yet tested) X-Git-Tag: v0.0.7~10 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask.git;a=commitdiff_plain;h=29225bf8774a8f44f0d80c756dec1adf48c6a7a0 accept version 2.3.0 (not yet tested) --- diff --git a/src/tw.c b/src/tw.c index 5ec2bc4..6719c02 100644 --- a/src/tw.c +++ b/src/tw.c @@ -108,7 +108,9 @@ static int task_check_version() log_debug("task version: %s", ver); - if (!strcmp(ver, "2.2.0") || !strcmp(ver, "2.0.0")) + if (!strcmp(ver, "2.2.0") + || !strcmp(ver, "2.0.0") + || !strcmp(ver, "2.3.0")) return 1; else return 0;