s3:client: Fix smbspool device uri handling
authorAndreas Schneider <asn@samba.org>
Tue, 12 Mar 2019 10:40:30 +0000 (11:40 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 18 Mar 2019 16:47:55 +0000 (16:47 +0000)
commit69d7a496d3bf52eaa10e81132bb61430863fdd8a
treeeec352455659957d8562a8f2518fb2ff0fb75aa9
parent129ae27946318a075e99c9e6d1bacf8963f72282
s3:client: Fix smbspool device uri handling

If we are executed as a CUPS backend, argv[0] is set to the device uri.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13832

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Mar 18 16:47:55 UTC 2019 on sn-devel-144
source3/client/smbspool.c