Branch: Tag:

2000-09-05

2000-09-05 16:02:03 by Per Hedbor <ph@opera.com>

Fixed duplicate variables

Rev: server/modules/tags/rxmltags.pike:1.169

7:   #define _rettext id->misc->defines[" _rettext"]   #define _ok id->misc->defines[" _ok"]    - constant cvs_version = "$Id: rxmltags.pike,v 1.168 2000/09/05 14:45:11 jhs Exp $"; + constant cvs_version = "$Id: rxmltags.pike,v 1.169 2000/09/05 16:02:03 per Exp $";   constant thread_safe = 1;   constant language = roxen->language;   
575:    RXML.run_error("Virtual path failed.\n");       if(!args->alt) { -  array src=args->src/"/"; -  string src=src[sizeof(src)-1]; +  string src=(args->src/"/")[-1];    sscanf(src, "internal-roxen-%s", src);    args->alt=String.capitalize(replace(src[..sizeof(src)-search(reverse(src),".")-2],"_"," "));    }
995:    // FIXME: The next row is defunct. last_modified_by does not exists.    m->name = id->conf->last_modified_by(file, id);    CACHE(10); -  return tag_user(tag, m, id, file); +  return tag_user(tag, m, id);    }       if(m->file)
1015:    m->name = id->conf->last_modified_by(f, id);    destruct(f);    CACHE(10); -  return tag_user(tag, m, id, file); +  return tag_user(tag, m, id);    }    return "A. Nonymous.";    }
1039:    RXML.run_error("Couldn't stat file.\n");   }    - string|array(string) tag_user(string tag, mapping m, RequestID id, Stdio.File file) + string|array(string) tag_user(string tag, mapping m, RequestID id )   { -  array(string) u; -  +     if(!id->conf->auth_module)    RXML.run_error("Requires a user database.\n");