[gnome-control-center] Printers: Remove redundant check
- From: Marek KaÅÃk <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Printers: Remove redundant check
- Date: Thu, 23 Jun 2011 11:40:53 +0000 (UTC)
commit 47fb197d73c39eb8cb76ff997a01215b15b28f24
Author: Marek Kasik <mkasik redhat com>
Date: Thu Jun 23 13:39:51 2011 +0200
Printers: Remove redundant check
Remove check which is not needed.
panels/printers/pp-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/pp-utils.c b/panels/printers/pp-utils.c
index faa29b9..6c64202 100644
--- a/panels/printers/pp-utils.c
+++ b/panels/printers/pp-utils.c
@@ -1261,7 +1261,7 @@ ccGetAllowedUsers (gchar ***allowed_users, const char *printer_name)
ippPort (),
cupsEncryption ());
- if (http || !allowed_users)
+ if (http)
{
request = ippNewRequest (IPP_GET_PRINTER_ATTRIBUTES);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]