Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.67 KB | None | 0 0
  1.         if (transaction->inBuffer != 0 && transaction->inLength != 0)
  2.         {
  3.           #ifdef _XHCI_DIAGNOSIS_
  4.             textColor(GREEN);
  5.             printf("\nIN transaction->inLength: ");
  6.             textColor(IMPORTANT);
  7.             printf("%u ", transaction->inLength);
  8.             textColor(TEXT);
  9.           #endif
  10.            
  11.             printf("\n%u",__LINE__);
  12.            
  13.             memcpy(transaction->inBuffer, transaction->TDBuffer, transaction->inLength);
  14.  
  15.             printf("\n%u",__LINE__);
  16.         }
  17.         printf("\n%u",__LINE__);
  18.         free(transaction->TDBuffer);
  19.         free(transaction->TD);
  20.         free(transaction);
  21.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement