diff options
author | Toomas Soome <tsoome@me.com> | 2019-06-22 08:39:00 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-06-27 23:09:49 +0300 |
commit | d4de1381101f6e9d28fd5cb63b4480a97492b1de (patch) | |
tree | 18e89889f91388cf812e92dcddd502d96fab049f | |
parent | 7bc07ca370133372a1f6a809c593d21722732630 (diff) | |
download | illumos-joyent-d4de1381101f6e9d28fd5cb63b4480a97492b1de.tar.gz |
11269 libipp-listener: leftover debug/test construct with FORCE_LPSCHED_URI
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Reviewed by: Norm Jacobs <naj@snapcon.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/lib/print/libipp-listener/common/common.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/src/lib/print/libipp-listener/common/common.c b/usr/src/lib/print/libipp-listener/common/common.c index a8fbe45098..a18797a879 100644 --- a/usr/src/lib/print/libipp-listener/common/common.c +++ b/usr/src/lib/print/libipp-listener/common/common.c @@ -27,8 +27,6 @@ /* $Id: common.c 155 2006-04-26 02:34:54Z ktou $ */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -53,7 +51,6 @@ ipp_svc_status_mesg(papi_service_t svc, papi_status_t status) char * destination_from_printer_uri(char *uri) { - static char buf[64]; char *result = NULL; if (uri != NULL) @@ -64,11 +61,6 @@ destination_from_printer_uri(char *uri) else result++; -#ifdef FORCE_LPSCHED_URI - snprintf(buf, sizeof (buf), "lpsched://localhost/printers/%s", result); - result = buf; -#endif /* FORCE_LPSCHED_URI */ - return (result); } |