]> git.pld-linux.org Git - packages/apache1-mod_auth_yp.git/blob - apache-mod_auth_yp-authfile.patch
cd2a46078872a04a0b4f34597b5d221d mod_auth_yp.c
[packages/apache1-mod_auth_yp.git] / apache-mod_auth_yp-authfile.patch
1 --- mod_auth_yp.c       Thu Sep 26 15:26:05 2002
2 +++ mod_auth_yp.c.p     Sun Nov 23 00:25:45 2003
3 @@ -53,10 +53,8 @@
4  
5  static const char *set_auth_yp_slot(cmd_parms *cmd, void *offset, char *f, char *t)
6  {
7 -if (t && strcmp(t, "standard"))
8 -       return ap_pstrcat(cmd->pool, "Invalid auth file type: ", t, NULL);
9 -
10 -return ap_set_file_slot(cmd, offset, f);
11 +       *(char **) ((char *)offset + ((int) (long) cmd->info) ) = f;
12 +       return NULL;
13  }
14  
15  static const command_rec auth_yp_cmds[] =
This page took 0.044838 seconds and 3 git commands to generate.