[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev [patch] minor malloc nibble
From: |
John Bley |
Subject: |
lynx-dev [patch] minor malloc nibble |
Date: |
Tue, 15 Dec 1998 17:01:51 -0500 (EST) |
Patch in diff -u format against 2.8.2dev9.
Making the world better one tiny patch at a time,
--
John Bley - address@hidden
Duke '99 - English/Computer Science
Since English is a mess, it maps well onto the problem space,
which is also a mess, which we call reality. - Larry Wall
--- HTInit.c.orig Tue Dec 15 16:48:15 1998
+++ HTInit.c Tue Dec 15 16:48:29 1998
@@ -941,7 +941,7 @@
HTGetWord(w, l, ' ', '\t');
if (w[0] && (w[0] != ' ')) {
char *ext = (char *)malloc(sizeof(char) * (strlen(w)+1+1));
- if (!ct)
+ if (!ext)
outofmem(__FILE__, "HTLoadExtensionsConfigFile");
sprintf(ext, ".%s", w);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev [patch] minor malloc nibble,
John Bley <=