smbspool: Fix printing on port 139.
authorKarolin Seeger <kseeger@samba.org>
Wed, 13 Aug 2008 19:27:55 +0000 (21:27 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Aug 2008 15:32:26 +0000 (17:32 +0200)
This one was introduced with 8eff35bc.
Thanks to Noèl Köthe for tracking that down!

Karolin
(This used to be commit 250f5a40d6e80305220d7cdc6a8f8459d8d0de74)

source3/client/smbspool.c

index f35a9d3003e33c740bf5f310c3974dcc53d6f18f..4a173714fe870de48d4ce81624b8c2b83f8ecccf 100644 (file)
@@ -233,7 +233,7 @@ main(int argc,                      /* I - Number of command-line arguments */
 
                port = atoi(sep);
        } else {
-               port = 445;
+               port = 0;
        }
 
        /*