Skip to content

Commit

Permalink
Prep for 1.2.11 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Mar 29, 2020
1 parent 158e5d0 commit bdfc997
Show file tree
Hide file tree
Showing 22 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion common.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ(2.53)
AC_INIT(Spine Poller, 1.2.10, http://www.cacti.net/issues.php)
AC_INIT(Spine Poller, 1.2.11, http://www.cacti.net/issues.php)

AC_CONFIG_AUX_DIR(config)
AC_SUBST(ac_aux_dir)
Expand Down
2 changes: 1 addition & 1 deletion error.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion error.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion keywords.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion keywords.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion locks.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion locks.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
12 changes: 6 additions & 6 deletions php.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down Expand Up @@ -233,22 +233,22 @@ char *php_readpipe(int php_process) {
default:
if (FD_ISSET(php_processes[php_process].php_read_fd, &fds)) {
bptr = result_string;

while (1) {
i = read(php_processes[php_process].php_read_fd, bptr, RESULTS_BUFFER-(bptr-result_string));

if (i <= 0) {
SET_UNDEFINED(result_string);
break;
}

bptr += i;
*bptr = '\0'; /* make what we've got into a string */

if ((cp = strstr(result_string,"\n")) != 0) {
break;
}

if (bptr >= result_string+BUFSIZE) {
SPINE_LOG(("ERROR: SS[%i] The Script Server result was longer than the acceptable range", php_process));
SET_UNDEFINED(result_string);
Expand Down
2 changes: 1 addition & 1 deletion php.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion ping.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion ping.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion poller.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion poller.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion snmp.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion snmp.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
4 changes: 2 additions & 2 deletions spine.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down Expand Up @@ -1000,7 +1000,7 @@ static void display_help(int only_version) {
0 /* ENDMARKER */
};

printf("SPINE %s Copyright 2004-2019 by The Cacti Group\n", VERSION);
printf("SPINE %s Copyright 2004-2020 by The Cacti Group\n", VERSION);

if (only_version == FALSE) {
printf("\n");
Expand Down
2 changes: 1 addition & 1 deletion spine.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
4 changes: 2 additions & 2 deletions sql.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down Expand Up @@ -291,7 +291,7 @@ void db_connect(int type, MYSQL *mysql) {
error = mysql_errno(mysql);
db_disconnect(mysql);

if (error == 2013 && errno == EINTR) {
if ((error == 2003 || error == 2013) && errno == EINTR) {
usleep(50000);
tries++;
success = FALSE;
Expand Down
2 changes: 1 addition & 1 deletion sql.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion util.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down
2 changes: 1 addition & 1 deletion util.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ex: set tabstop=4 shiftwidth=4 autoindent:*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2019 The Cacti Group |
| Copyright (C) 2004-2020 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU Lesser General Public |
Expand Down

0 comments on commit bdfc997

Please sign in to comment.