Advertisement
Guest User

Untitled

a guest
May 21st, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. while(head)
  2. {
  3.     email_t* currentEmail = head->emailHead;
  4.  
  5.     while(currentEmail != NULL){
  6.         if(strstr(currentEmail->emailAddress, search))
  7.         {
  8.             id = head->ID;
  9.             printf("Znaleziono w ID = %d \n", id);
  10.             return id;
  11.         }
  12.         currentEmail = currentEmail->next;
  13.     }
  14.  
  15.     head = head->next;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement