- Timestamp:
- 2016-03-25T18:07:53Z (8 years ago)
- Branches:
- master
- Children:
- 50bb490
- Parents:
- 8e6ecfe
- git-author:
- Dennis Kaarsemaker <dennis@…> (23-02-16 18:52:32)
- git-committer:
- Dennis Kaarsemaker <dennis@…> (25-03-16 18:07:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
auth.c
r8e6ecfe ra6005da 1 1 #define BITLBEE_CORE 2 2 #include "bitlbee.h" 3 4 #ifdef WITH_PAM 5 extern auth_backend_t auth_pam; 6 #endif 3 7 4 8 GList *auth_init(const char *backend) … … 6 10 GList *gl = NULL; 7 11 int ok = backend ? 0 : 1; 12 #ifdef WITH_PAM 13 gl = g_list_append(gl, &auth_pam); 14 if (backend && !strcmp(backend, "pam")) { 15 ok = 1; 16 } 17 #endif 8 18 9 19 return ok ? gl : NULL;
Note: See TracChangeset
for help on using the changeset viewer.