/*
* Back end processing function for convert_ctdluid_to_minusone()
* Call this function as a ForEachUser backend in order to queue up
- * room names, or call it with a null user to make it do the processing.
+ * user names, or call it with a null user to make it do the processing.
* This allows us to maintain the list as a static instead of passing
* pointers around.
*/
* Helper function for move_inet_addrs_from_vcards_to_user_records()
*
* Call this function as a ForEachUser backend in order to queue up
- * room names, or call it with a null user to make it do the processing.
+ * user names, or call it with a null user to make it do the processing.
* This allows us to maintain the list as a static instead of passing
* pointers around.
*/
int i;
struct ctdluser u;
- CtdlRebuildDirectoryIndex();
-
for (i=0; i<num_m; ++i) {
syslog(LOG_DEBUG, "<%s> = <%s>", m[i].name, m[i].emails);
if (CtdlGetUser(&u, m[i].name) == 0) {
free(m);
num_m = 0;
alloc_m = 0;
- abort();
return;
}
{
ForEachUser(miafvtur_backend, NULL);
miafvtur_backend(NULL, NULL);
+ CtdlRebuildDirectoryIndex();
+ abort();
}