فهرست منبع

dialog(k): Fixed typo in loop in set_dlg_timeout_by_profile() so that
_all_ the dialogs actually get killed, not just the first one.

Alex Balashov 12 سال پیش
والد
کامیت
51cba80398
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      modules_k/dialog/dlg_profile.c

+ 2 - 2
modules_k/dialog/dlg_profile.c

@@ -761,9 +761,9 @@ int	dlg_set_timeout_by_profile(struct dlg_profile_table *profile,
 						return -1;
 						return -1;
 					}
 					}
 				}
 				}
-			} while(ph != profile->entries[i].first);
 
 
-			ph = ph->next;
+				ph = ph->next;
+			} while(ph != profile->entries[i].first);
 		}
 		}
 
 
 		lock_release(&profile->lock);
 		lock_release(&profile->lock);