Fixed compile warning.
authorTim Potter <tpot@samba.org>
Tue, 7 May 2002 04:31:56 +0000 (04:31 +0000)
committerTim Potter <tpot@samba.org>
Tue, 7 May 2002 04:31:56 +0000 (04:31 +0000)
(This used to be commit 671607a3eefc58673bdd4cb8fc8d3a3f65542f03)

source3/rpcclient/rpcclient.c

index 1b3d0a756df80efdadcc956038b382faaabc15bf..29b99165d3973ebbe6d6fee620371e5f1759b87d 100644 (file)
@@ -599,7 +599,8 @@ static void usage(void)
        BOOL                    interactive = True;
        int                     opt;
        int                     olddebug;
-       static char             *cmdstr = "", *server;
+       static char             *cmdstr = "";
+       const char *server;
        struct cli_state        *cli;
        fstring                 password="",
                                username="",