ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Publisher.cpp
(Generate patch)

Comparing trunk/Publisher.cpp (file contents):
Revision 27 by douglas, 2004-07-17T19:21:04-07:00 vs.
Revision 30 by douglas, 2004-07-19T21:24:52-07:00

# Line 31 | Line 31 | void Publisher::update()
31          ext::Handle<dbi::Connection> db(dbi::Connect(database.driver, database.host,
32                  database.user, database.password, database.db));
33  
34 <        db->Execute("DELETE FROM messages WHERE stamp<'" + ext::String(stamp - 30) +
35 <                "'");
34 >        db->Execute("DELETE FROM messages WHERE stamp<'" + (stamp - 30) + "'");
35  
36          for (std::set<Buddy>::const_iterator buddy(buddies.begin()); buddy !=
37                  buddies.end(); ++buddy)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines