Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/pacman/output.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-26 16:23:59 -0400
committerDan McGee <dan@archlinux.org>2007-04-26 16:23:59 -0400
commit8d46cf6651e4593786621be62216c6ef9f03a172 (patch)
tree0055ed9889b5b6d6e02869d46179fd60f3cc8d2e /src/pacman/output.c
parentf2dabeb19f79544775e8f369710f267a6d087b24 (diff)
Remove ERR calls from the code
All ERR() calls have been replaced with fprintf(stderr, ...). Still to be done- fix all the newline issues that are sure to pop up. What fun! Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/output.c')
-rw-r--r--src/pacman/output.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pacman/output.c b/src/pacman/output.c
index 36f0aa65..4c970b2e 100644
--- a/src/pacman/output.c
+++ b/src/pacman/output.c
@@ -62,9 +62,6 @@ int yesno(char *fmt, ...)
strtrim(response);
}
- /* User hits 'enter', forcing a newline here */
- neednl = 0;
-
if(!strcasecmp(response, _("Y")) || !strcasecmp(response, _("YES")) || strlen(response) == 0) {
return(1);
}