summaryrefslogtreecommitdiffstats
path: root/web/attachments/328741-utils_base.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/328741-utils_base.c.patch')
-rw-r--r--web/attachments/328741-utils_base.c.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/attachments/328741-utils_base.c.patch b/web/attachments/328741-utils_base.c.patch
new file mode 100644
index 0000000..d5207e2
--- /dev/null
+++ b/web/attachments/328741-utils_base.c.patch
@@ -0,0 +1,19 @@
1--- utils_base.c.old 2009-05-27 15:55:13.000000000 +0400
2+++ utils_base.c 2009-05-28 11:51:11.000000000 +0400
3@@ -23,7 +23,6 @@
4 * You should have received a copy of the GNU General Public License
5 * along with this program. If not, see <http://www.gnu.org/licenses/>.
6 *
7-* $Id: utils_base.c 1938 2008-03-11 00:10:23Z tonvoon $
8 *
9 *****************************************************************************/
10
11@@ -104,7 +103,7 @@
12 {
13 thresholds *temp_thresholds = NULL;
14
15- temp_thresholds = malloc(sizeof(temp_thresholds));
16+ temp_thresholds = malloc(sizeof(thresholds));
17
18 temp_thresholds->warning = NULL;
19 temp_thresholds->critical = NULL;