lp_setup_logfile() doesn't exist any more
authorAndrew Tridgell <tridge@samba.org>
Thu, 20 Dec 2001 23:46:05 +0000 (23:46 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 20 Dec 2001 23:46:05 +0000 (23:46 +0000)
source/rpcclient/rpcclient.c

index dd490f906609bbda3e0f5873de42d945ab5c8d71..f57b4f2e483527f8205b1ea812333055ce8fbf05 100644 (file)
@@ -570,7 +570,7 @@ static void usage(void)
 
        DEBUGLEVEL = 1;
 
-       while ((opt = getopt(argc, argv, "A:s:Nd:U:W:c:l:h")) != EOF) {
+       while ((opt = getopt(argc, argv, "A:s:Nd:U:W:c:h")) != EOF) {
                switch (opt) {
                case 'A':
                        /* only get the username, password, and domain from the file */
@@ -587,12 +587,6 @@ static void usage(void)
                        DEBUGLEVEL = atoi(optarg);
                        break;
 
-               case 'l':
-                       slprintf(logfile, sizeof(logfile) - 1, "%s.client", optarg);
-                       lp_set_logfile(logfile);
-                       interactive = False;
-                       break;
-
                case 'N':
                        got_pass = True;
                        break;