This commit is contained in:
psyc://psyced.org/~lynX 2009-04-22 06:25:04 +02:00
parent 70421c466e
commit 3fcd56a1a1
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ parse(string body, mapping headers) {
P1(("%O failed to parse its timeline.\n", ME))
return;
}
unless (sizeof(wurst)) {
P1(("%O received an empty structure.\n", ME))
return;
}
if (wurst[0]["id"] <= lastid) {
P1(("%O received %d old updates.\n", ME, sizeof(wurst)))
return;