All pastes #415770 Raw Edit

Something

public text v1 · immutable
#415770 ·published 2007-03-29 20:50 UTC
rendered paste body
  /* First check the monitor list */
  tmpnet=pv->config.montop;
  while(tmpnet)
    {
      count=0;

      while(tmpnet->network[count] && network[count])
	{
	  if (tmpnet->network[count]==network[count])
	    count++;
	  else
	    break;
	}


      if (!tmpnet->network[count] && count) /* MONITOR part matches completely */
	{

      ^------- Den här koden kommer validera false nät tmpnet->network = "\0"

      (Eftersom den kollar två saker, att tmpnet->network[count] == '\0' OCH
       att count > 0 *stön*).

	  matchfound=1;
	  tmpnet=0;
	}
      else /* Network differs before end of monitored network */
	{
	  tmpnet=tmpnet->next;
	}
    }