what is the best way to make something like this more readable?
is there a standard for complex if's like this one??
Code:
if((!ki.fname || ki.fname[0]=='0')&& ki.id==0)
if(((!ki.sender || ki.sender[0]=='0') ||
strcmp(ki.sender,curr->sender)==0) &&
((!ki.addressee || ki.addressee[0]=='0') ||
strcmp(ki.addressee,curr->addressee)==0) &&
((!ki.regarding || ki.regarding[0]=='0') ||
strcmp(ki.regarding,curr->regarding)==0) &&
(ki.date.day == 0 || ki.date.day == curr->date.day) &&
(ki.date.month == 0 || ki.date.month == curr->date.month) &&
(ki.date.year == 0 || ki.date.year == curr->date.year))
{
hits->next=copynode(curr);
hits=hits->next; //bump pointer
}