attempt to fix a linter error for step 49 of "Path"
This commit is contained in:
committed by
Andrew Johnson
parent
ae0435c6b2
commit
5813dcd639
@@ -95,7 +95,7 @@ osdReadline (const char *prompt, struct readlineContext *context)
|
||||
if ((linelen + 1) >= linesize) {
|
||||
char *cp;
|
||||
|
||||
linesize += 50;
|
||||
linesize = linelen + 50;
|
||||
cp = (char *)realloc(line, linesize);
|
||||
if (cp == NULL) {
|
||||
printf ("Out of memory!\n");
|
||||
|
||||
Reference in New Issue
Block a user