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

Comparing trunk/IMAPHandler/IMAPHandler.cpp (file contents):
Revision 122 by douglas, 2003-04-02T15:48:57-08:00 vs.
Revision 124 by douglas, 2003-04-02T21:13:46-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