Is a simple yet annoying bug...

PROBLEM:
non postmaster users are not able to update their redirect.. 

FIX: 


 --- qmailadmin-0.42/alias.c     Wed Jan 10 16:06:08 2001
+++ qmailadmin-0.42.new/alias.c Sun Apr 15 12:53:38 2001
@@ -330,11 +330,11 @@
                       return(0);
               } 

+
        l = slen(pw->pw_dir) + 9;
               dot_file = malloc(l);
               scopy(dot_file, pw->pw_dir, l);
 -               scat(dot_file, "/.qmail");
 -
+               scat(dot_file, "/.qmail",l);
        if ( (fs=fopen(dot_file,"w"))==NULL) {
             fprintf(actout, "%s\n", get_html_text("146"));
        } 

 

 

 --
too lazy to stop using this old email address... 

Reply via email to