projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689d9bf
)
readstdin: add a comment
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 31 Oct 2022 10:43:34 +0000
(11:43 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 31 Oct 2022 10:46:10 +0000
(11:46 +0100)
Maybe too obvious / redundant, but OK.
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index e786d7a31ba7ec360e057db1f5321b73073d39e4..8d96b6ca1e46eaf1f31905a71e7d0eb5d97b5ee2 100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-562,7
+562,7
@@
readstdin(void)
line[len - 1] = '\0';
items[i].text = line;
items[i].out = 0;
- line = NULL;
+ line = NULL;
/* next call of getline() allocates a new line */
}
free(line);
if (items)