Guest User

Untitled

a guest
Feb 10th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.91 KB | None | 0 0
  1. --- a/checkgmail    Tue Jan 22 10:59:36 2013 +0100
  2. +++ b/checkgmail    Sun Feb 10 16:13:57 2013 +0100
  3. @@ -1071,7 +1071,8 @@
  4.     # Return if there aren't any Atom feeds in the queue ...
  5.     return 1 unless my $atom = $request_results->dequeue_nb;
  6.    
  7. -   if ($atom =~ m/while\(1\);/) {
  8. +   #if ($atom =~ m/while\(1\);/) {
  9. +   if ($atom =~ s/LABEL=.*\n\)]}'//) {
  10.         # datapack shortcircuit
  11.         # we use this to grab the full text of messages ...
  12.        
  13. @@ -1091,7 +1092,8 @@
  14.         # }
  15.        
  16.         # See what you've made me do, Google??  Just look at this fugly regex ...
  17. -       while ($atom =~ m/\["ms",.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,\[.*?"\].*?\[.*?\[.*?,.*?,.*?,.*?,.*?,"(.*?)",\[/sg) {
  18. +       #while ($atom =~ m/\["ms",.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,\[.*?"\].*?\[.*?\[.*?,.*?,.*?,.*?,.*?,"(.*?)",\[/sg) {
  19. +       while ($atom =~ m/\["ms",.*?,.*?,.*?,.*?,.*?,.*?,.*?,.*?,\[.*?"\].*?\[.*?\[.*?,.*?,.*?,.*?,.*?,".*?","(.*?)",\[/sg) {
  20.             $mb .= "$1";
  21.         }
Advertisement
Add Comment
Please, Sign In to add comment