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

Comparing trunk/Zoe.cpp (file contents):
Revision 25 by douglas, 2004-07-17T16:29:02-07:00 vs.
Revision 30 by douglas, 2004-07-19T21:24:52-07:00

# Line 173 | Line 173 | void Zoe::initialize()
173                  api::Uuid::CreateSequential(id);
174  
175                  buddy->setId(id);
176 <                db->Execute("INSERT INTO buddies (id, buddy) VALUES ('" +
177 <                        lexical_cast<ext::String>(id) + "', '" + ext::String(*buddy) +
178 <                        "')");
176 >                db->Execute("INSERT INTO buddies (id, buddy) VALUES ('" + id + "', '" +
177 >                        *buddy + "')");
178                  
179                  buddies_.insert(*buddy);
180          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines