summaryrefslogtreecommitdiffstats
path: root/web/attachments/328741-utils_base.c.patch
blob: d5207e2ea0aafb50744bd1da439d4c927f38fd37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- utils_base.c.old	2009-05-27 15:55:13.000000000 +0400
+++ utils_base.c	2009-05-28 11:51:11.000000000 +0400
@@ -23,7 +23,6 @@
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
-* $Id: utils_base.c 1938 2008-03-11 00:10:23Z tonvoon $
 *
 *****************************************************************************/
 
@@ -104,7 +103,7 @@
 {
 	thresholds *temp_thresholds = NULL;
 
-	temp_thresholds = malloc(sizeof(temp_thresholds));
+	temp_thresholds = malloc(sizeof(thresholds));
 
 	temp_thresholds->warning = NULL;
 	temp_thresholds->critical = NULL;