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

Comparing trunk/WinXPFAQPoll/IMAPHandler.cpp (file contents):
Revision 123 by douglas, 2003-04-02T18:10:51-08:00 vs.
Revision 125 by douglas, 2003-04-02T23:25:29-08:00

# Line 271 | Line 271 | string IMAPHandler::imap(const string& i
271  
272   void IMAPHandler::putline(const string line)
273   {
274        if (debug) cerr << line << "\n";
275
274          istringstream lines(line);
275  
276          while (lines.good())
# Line 280 | Line 278 | void IMAPHandler::putline(const string l
278                  string line;
279  
280                  std::getline(lines, line);
281 +                if (debug) cerr << line << "\n";
282 +
283                  sprintf(buffer, "%s\r\n", line.c_str());
284  
285 + //              for (unsigned index = 0; index < strlen(buffer); index++)
286 + //              {
287 + //                      cout << "\"" << buffer[index] << "\" = " << int(buffer[index])
288 + //                              << "\n";
289 + //              }
290 +
291                  if (tls)
292                  {
293                          if (int code = SSL_write(ssl, buffer, strlen(buffer)) <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines