Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
authorVolker Lendecke <vl@samba.org>
Wed, 19 Mar 2008 14:01:30 +0000 (15:01 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 19 Mar 2008 14:01:37 +0000 (15:01 +0100)
source/rpcclient/cmd_spoolss.c

index 41e27c16822ec0393802dd4a270dfce883e2d5db..12e63bc0e780373d25e7a3e50cdf0b55e72d0467 100644 (file)
@@ -2616,7 +2616,7 @@ static WERROR cmd_spoolss_printercmp(struct rpc_pipe_client *cli,
        
        fstrcpy( printername, argv[1] );
        
-       fstr_sprintf( servername1, cli->cli->desthost );
+       fstrcpy( servername1, cli->cli->desthost );
        fstrcpy( servername2, argv[2] );
        strupper_m( servername1 );
        strupper_m( servername2 );