diff --git a/src/ckdb.c b/src/ckdb.c index 4987b72c..7ec8e2f4 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -1,5 +1,5 @@ /* - * Copyright 2003-2014 Andrew Smith + * Copyright 1995-2014 Andrew Smith * Copyright 2014 Con Kolivas * * This program is free software; you can redistribute it and/or modify it @@ -3040,7 +3040,8 @@ static bool sharesummary_update(PGconn *conn, SHARES *s_row, SHAREERRORS *e_row, } else { MODIFYUPDATE(row, now, by, code, inet); - if ((row->countlastupdate + 10) < (row->sharecount + row->errorcount)) { + if ((row->countlastupdate + SHARESUMMARY_UPDATE_EVERY) < + (row->sharecount + row->errorcount)) { par = 0; params[par++] = bigint_to_buf(row->userid, NULL, 0); params[par++] = str_to_buf(row->workername, NULL, 0); diff --git a/src/ktree.c b/src/ktree.c index 28be53cd..e3e66ea7 100644 --- a/src/ktree.c +++ b/src/ktree.c @@ -1,5 +1,5 @@ /* - * Copyright 2003-2014 Andrew Smith + * Copyright 1995-2014 Andrew Smith * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free diff --git a/src/ktree.h b/src/ktree.h index 016cd0a3..7de08d8e 100644 --- a/src/ktree.h +++ b/src/ktree.h @@ -1,5 +1,5 @@ /* - * Copyright 2003-2014 Andrew Smith + * Copyright 1995-2014 Andrew Smith * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free