/[Apache-SVN]/httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 466865, Sun Oct 22 19:11:51 2006 UTC revision 468042, Thu Oct 26 15:39:41 2006 UTC
# Line 127  static authn_status authn_dbd_password(r Line 127  static authn_status authn_dbd_password(r
127              return AUTH_GENERAL_ERROR;              return AUTH_GENERAL_ERROR;
128          }          }
129          if (dbd_password == NULL) {          if (dbd_password == NULL) {
             dbd_password = apr_dbd_get_entry(dbd->driver, row, 0);  
   
130  #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 3)  #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 3)
131              /* add the rest of the columns to the environment */              /* add the rest of the columns to the environment */
132              int i = 1;              int i = 1;
# Line 155  static authn_status authn_dbd_password(r Line 153  static authn_status authn_dbd_password(r
153                  i++;                  i++;
154              }              }
155  #endif  #endif
156                dbd_password = apr_dbd_get_entry(dbd->driver, row, 0);
157          }          }
158          /* we can't break out here or row won't get cleaned up */          /* we can't break out here or row won't get cleaned up */
159      }      }
# Line 212  static authn_status authn_dbd_realm(requ Line 211  static authn_status authn_dbd_realm(requ
211              return AUTH_GENERAL_ERROR;              return AUTH_GENERAL_ERROR;
212          }          }
213          if (dbd_hash == NULL) {          if (dbd_hash == NULL) {
             dbd_hash = apr_dbd_get_entry(dbd->driver, row, 0);  
   
214  #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 3)  #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 3)
215              /* add the rest of the columns to the environment */              /* add the rest of the columns to the environment */
216              int i = 1;              int i = 1;
# Line 240  static authn_status authn_dbd_realm(requ Line 237  static authn_status authn_dbd_realm(requ
237                  i++;                  i++;
238              }              }
239  #endif  #endif
240                dbd_hash = apr_dbd_get_entry(dbd->driver, row, 0);
241          }          }
242          /* we can't break out here or row won't get cleaned up */          /* we can't break out here or row won't get cleaned up */
243      }      }

Legend:
Removed from v.466865  
changed lines
  Added in v.468042

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2