Skip to content

Commit 65f6e0f

Browse files
committed
gridinit_cmd: Reduce the line buffer size
No need of 64kiB, 8kiB is enough
1 parent 004a83f commit 65f6e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/gridinit_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3939

4040

4141
static gchar *sock_path = NULL;
42-
static gchar line[65536];
42+
static gchar line[8192] = "";
4343
static gboolean flag_color = FALSE;
4444
static gchar *format = NULL;
4545
static gboolean flag_version = FALSE;

0 commit comments

Comments
 (0)