Shuffled around the sieve code:
[citadel.git] / citadel / serv_extensions.c
index 173ee6f68dba7b439c09935d891736a02115f3f4..1b1390f59fdb67432051ee904ca75d48c12c1d45 100644 (file)
@@ -948,11 +948,10 @@ int PerformRoomHooks(struct ctdlroom *target_room)
        struct RoomFunctionHook *fcn;
        int total_retval = 0;
 
-       lprintf(CTDL_DEBUG, "Performing room hooks\n");
+       lprintf(CTDL_DEBUG, "Performing room hooks for <%s>\n", target_room->QRname);
 
        for (fcn = RoomHookTable; fcn != NULL; fcn = fcn->next) {
-               total_retval = total_retval +
-                       (*fcn->fcn_ptr) (target_room);
+               total_retval = total_retval + (*fcn->fcn_ptr) (target_room);
        }
 
        /* Return the sum of the return codes from the hook functions.