Blame 0002-Mark-Bluetooth-printers-as-being-local.patch
|
Bastien Nocera |
5ac875 |
From d96004d65132a7934308ded8010c5f819013157a Mon Sep 17 00:00:00 2001
|
|
Bastien Nocera |
5ac875 |
From: Till Kamppeter <till.kamppeter@gmail.com>
|
|
Bastien Nocera |
5ac875 |
Date: Tue, 11 Aug 2009 14:06:59 +0100
|
|
Bastien Nocera |
5ac875 |
Subject: [PATCH 2/2] Mark Bluetooth printers as being local
|
|
Bastien Nocera |
5ac875 |
|
|
Bastien Nocera |
5ac875 |
For discovery purposes. Also add a better label for the printer,
|
|
Bastien Nocera |
5ac875 |
and append "(Bluetooth") to the "unique" name.
|
|
Bastien Nocera |
5ac875 |
---
|
|
Bastien Nocera |
5ac875 |
cups/main.c | 2 +-
|
|
Bastien Nocera |
5ac875 |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Bastien Nocera |
5ac875 |
|
|
Bastien Nocera |
5ac875 |
diff --git a/cups/main.c b/cups/main.c
|
|
Bastien Nocera |
5ac875 |
index ba9864f..bb15c9c 100644
|
|
Bastien Nocera |
5ac875 |
--- a/cups/main.c
|
|
Bastien Nocera |
5ac875 |
+++ b/cups/main.c
|
|
Bastien Nocera |
5ac875 |
@@ -226,7 +226,7 @@ static void print_printer_details(const char *name, const char *bdaddr, const ch
|
|
Bastien Nocera |
5ac875 |
bdaddr[9], bdaddr[10],
|
|
Bastien Nocera |
5ac875 |
bdaddr[12], bdaddr[13],
|
|
Bastien Nocera |
5ac875 |
bdaddr[15], bdaddr[16]);
|
|
Bastien Nocera |
5ac875 |
- printf("network %s \"Unknown\" \"%s (Bluetooth)\"", uri, escaped);
|
|
Bastien Nocera |
5ac875 |
+ printf("direct %s \"%s\" \"%s (Bluetooth)\"", uri, escaped, escaped);
|
|
Bastien Nocera |
5ac875 |
if (id != NULL)
|
|
Bastien Nocera |
5ac875 |
printf(" \"%s\"\n", id);
|
|
Bastien Nocera |
5ac875 |
else
|
|
Bastien Nocera |
5ac875 |
--
|
|
Bastien Nocera |
5ac875 |
1.6.2.5
|
|
Bastien Nocera |
5ac875 |
|