God I am so glad I can pay 800$ a month so my landlord can provide the shittiest WiFi possible
I really want to like bone marrow but dear god I can't get over it yet
DUMB SHIT MISCHIEF AND MALFEASANCE EDITION
Video
This is happening to me tomorrow
Good news: I figured out how to do this thing in C that had been fucking with me for a while
Bad news: I am a completely fucking retarded, -110 IQ specimen because this was easy as shit and shouldn't have taken me so long
Bad news: I am a completely fucking retarded, -110 IQ specimen because this was easy as shit and shouldn't have taken me so long
int regexlist_remove(struct regexlist **rl, const char *pattern) {
// Search the list linearly for the desired node, reset if the node can't be found
struct regexlist * const start = *rl;
for(; *rl != NULL; *rl = (*rl)->next) {
if(strcmp((*rl)->pattern, pattern) == 0)
break;
}
if(*rl == NULL) {
*rl = start;
return -1;
}
...
}