Hello Roland,

Try this patch.

Jean-Louis

On Sat, Dec 08, 2001 at 12:03:29AM +0000, Roland E. Lipovits wrote:
> Roland E. Lipovits <[EMAIL PROTECTED]> wrote:
> >Int the logfile and the report, there are many lines saying
> >| WARNING driver Unknown dumporder character '
> >
> >The dumporder line in amanda.conf is:
> >| dumporder "sssS"   # specify the priority order of each dumper
> >
> >Any ideas why this warning is shown?
> 
> Grmbl. May be this happens because I have 'inparallel 5' and so
> 'dumporder' should be 5 chars long. I'll try that tomorrow. 
> 
> Regards,
> Lipo
> 
> -- 
> "They that can give up essential liberty   |   Roland E. Lipovits
>  to obtain a little temporary safety       |   Vienna, Austria
>  deserve neither liberty nor safety."      |   DSA-KeyID: 0xDA153FAB 
>  - Benjamin Franklin, 1759                 |   RSA-KeyID: 0xBC39A5CD

-- 
Jean-Louis Martineau             email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834
--- server-src/driver.c.1       Sat Dec  8 10:48:36 2001
+++ server-src/driver.c Sat Dec  8 10:52:29 2001
@@ -584,7 +584,7 @@
                if(!accept) {
                    char dumptype;
                    char *dumporder = getconf_str(CNF_DUMPORDER);
-                   if((strlen(dumporder)+1) <= (dumper-dmptable)) {
+                   if(strlen(dumporder) <= (dumper-dmptable)) {
                        if(dumper-dmptable < 3)
                            dumptype = 's';
                        else

Reply via email to