3 ms·
It wouldn't surprise me in the slightest if they had char* msg = malloc(141); spread throughout their code still... Maybe they can't change it.
by gaius 9y ago
It wouldn't surprise me in the slightest if they had
char* msg = malloc(141);
spread throughout their code still... Maybe they can't change it.
- Tuna-Fish 9y agoUnless that's a 32-bit char, that won't work. These days twitter allows 140 unicode codepoints, not 140 bytes. At it's worst, that's 560 bytes.
- brainfire 9y agoThere are exceptions now to the length rule - URLs don't count, @names don't count. I would guess that means they've ripped that code all out.