s3-net: make sure we dont crash when publishing a single printer.
authorGünther Deschner <gd@samba.org>
Fri, 1 Oct 2010 04:08:12 +0000 (06:08 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:57:59 +0000 (12:57 +0200)
commitbcded87973ea112c7f6799424d95d05fc013d94f
tree71069b87781b6d58aca98c8f63eec7b25636e7f9
parentdf07498c8e770f4474a41833c85fa636830dea90
s3-net: make sure we dont crash when publishing a single printer.

Guenther
(cherry picked from commit 21576e3f8c32878910460bf9575c200ad93d682a)

Part of a fix for bug #7993 ("net rpc printer MIGRATE" command fails).
(cherry picked from commit 9c75728c62cccb8da606ece2d9df08b592e7c7c0)
source3/utils/net_rpc_printer.c