--- libaitcfg/example/test_pwd.c 2012/09/19 11:50:02 1.1.2.2 +++ libaitcfg/example/test_pwd.c 2012/09/19 11:53:52 1.1.2.3 @@ -12,10 +12,11 @@ int main() int ret = 0; if (cfgLoadPasswd("test.pwd", &db)) { - printf("Error #%d - %s\n", pwd_GetErrno(), pwd_GetError()); + printf("Error #%d - %s\n", cfg_GetErrno(), cfg_GetError()); return 1; } +#if 0 /* unit test find */ // count elements printf("attr=%d Count of array %d w/ NULL \n", ALL, pwd_FindAttribute(db, ALL, NULL)); @@ -93,6 +94,7 @@ int main() printf("Error #%d - %s\n", pwd_GetErrno(), pwd_GetError()); return 2; } +#endif UnloadPasswd(&db); return 0;