All pastes #896358 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-08 16:08 UTC
rendered paste body
while ( *p != '\0' )
{
        c=0;

	if ( *p == ':' )
	{
	i++;
        c=0;
	}

	if ( *p > 'A' && *p < 'Z' && i != 2 )
	{
	printf("TYPE: %c\n",*p);
        buf1[c] = *p;
	}

	if ( i >= 2 )
	{
	printf("MSG: %c\n",*p);
        buf2[c] = *p;
	}
p++;
c++;
}
i = 0;

}