aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/xymon-server/files/patch-nousemultipart
blob: 44cc7550971a4adabc9dc48fb2ef7f9b79f4d495 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Roland Rosenfeld <roland@debian.org>
Date: Mon, 12 Jul 2021 13:34:10 +0200
Forwarded: https://lists.xymon.com/archive/2024-February/048287.html
Subject: Fix Snapshort and Availability Report on Firefox

Bug-Debian: https://bugs.debian.org/990989

--- web/report.c
+++ web/report.c
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
 	int argi, newargi;
 	char *envarea = NULL;
 	char *useragent = NULL;
-	int usemultipart = 1;
+	int usemultipart = 0;
 
 	SBUF_MALLOC(outdir, PATH_MAX+1024);
 	SBUF_MALLOC(xymonwebenv, PATH_MAX+1024);
--- web/snapshot.c
+++ web/snapshot.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[])
 	int argi, newargi;
 	char *envarea = NULL;
 	char *useragent;
-	int usemultipart = 1;
+	int usemultipart = 0;
 
 	SBUF_MALLOC(xymongencmd, 2048+PATH_MAX);
 	SBUF_MALLOC(xymonwebenv, 4096);