Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288438 | Differences between
and this patch

Collapse All | Expand All

(-)policyd-1.82-orig/throttle.c (-2 / +2 lines)
Lines 145-155 Link Here
145
  
145
  
146
  if(tcount[fd] >= tquota[fd] && tcount[fd] >= trcpt[fd]) {
146
  if(tcount[fd] >= tquota[fd] && tcount[fd] >= trcpt[fd]) {
147
    tresult = tcount[fd];
147
    tresult = tcount[fd];
148
    if (DEBUG >= 4) logmessage("tquota[fd] won\n"); }
148
    if (DEBUG >= 4) logmessage("tcount[fd] won\n"); }
149
    
149
    
150
  if(trcpt[fd]  >= tcount[fd] && trcpt[fd] >= tquota[fd]) {
150
  if(trcpt[fd]  >= tcount[fd] && trcpt[fd] >= tquota[fd]) {
151
    tresult = trcpt[fd];
151
    tresult = trcpt[fd];
152
    if (DEBUG >= 4) logmessage("tquota[fd] won\n"); }
152
    if (DEBUG >= 4) logmessage("trcpt[fd] won\n"); }
153
153
154
  if(DEBUG >= 4)
154
  if(DEBUG >= 4)
155
    logmessage("DEBUG: fd: %d: tresult: %d\n", fd, tresult);
155
    logmessage("DEBUG: fd: %d: tresult: %d\n", fd, tresult);

Return to bug 288438