logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

rev 203 - trunk/msn: msg#00082

Subject: rev 203 - trunk/msn
Author: mrowe
Date: 2004-06-29 11:28:01 +1200 (Tue, 29 Jun 2004)
New Revision: 203

Modified:
   trunk/msn/filetransfer.cpp
   trunk/msn/notificationserver.cpp
Log:
Remove out of date #ifdef DEBUG stuff.

Modified: trunk/msn/filetransfer.cpp
===================================================================
--- trunk/msn/filetransfer.cpp  2004-06-28 03:25:49 UTC (rev 202)
+++ trunk/msn/filetransfer.cpp  2004-06-28 23:28:01 UTC (rev 203)
@@ -482,10 +482,6 @@
         this->switchboardConnection->sendMessage(msg);
         delete msg;
         
-#ifdef DEBUG
-        printf("Rejecting file transfer\n");
-#endif
-        
         this->switchboardConnection->invitationsReceived.remove(this);
     }
     
@@ -504,9 +500,6 @@
         this->switchboardConnection->sendMessage(msg);
         delete msg;
         
-#ifdef DEBUG
-        printf("Accepting file transfer\n");
-#endif
     }
     
     void FileTransferInvitation::cancelTransfer()

Modified: trunk/msn/notificationserver.cpp
===================================================================
--- trunk/msn/notificationserver.cpp    2004-06-28 03:25:49 UTC (rev 202)
+++ trunk/msn/notificationserver.cpp    2004-06-28 23:28:01 UTC (rev 203)
@@ -741,10 +741,6 @@
             return;
         }
         
-#ifdef DEBUG
-        fprintf(stderr, "MSN Plugin: Negotiating CVR\n");
-#endif
-        
         std::ostringstream buf_;
         buf_ << "CVR " << trid << " 0x0409 winnt 5.2 i386 MSNMSGR 6.0.0250 
MSMSGS " << info->username << "\r\n";
         this->write(buf_);
@@ -791,10 +787,6 @@
             return;
         }
         
-#ifdef DEBUG
-        fprintf(stderr, "MSN Plugin: Requesting USR\n");
-#endif
-        
         std::ostringstream buf_;
         buf_ << "USR " << trid << " TWN I " << info->username << "\r\n";
         this->write(buf_);
@@ -846,10 +838,6 @@
         else   
             ret = CURLE_OK;
         
-#ifdef DEBUG
-        fprintf(stderr, "MSN Plugin: Will connect to login.passport.com using 
proxy: %s\n", proxy.empty() ? "None" : proxy);
-#endif
-        
         if (ret == CURLE_OK)
             ret = curl_easy_setopt(curl, CURLOPT_URL, 
"https://login.passport.com/login2.srf";);
         
@@ -879,10 +867,6 @@
         if (ret == CURLE_OK)
             ret = curl_easy_setopt(curl, CURLOPT_WRITEHEADER, info);
         
-#ifdef DEBUG
-        fprintf(stderr, "MSN Plugin: Connecting to login.passport.com\n");
-#endif
-        
         if (ret == CURLE_OK)
             ret = curl_easy_perform(curl);
         
@@ -900,11 +884,6 @@
             return;
         }
         
-#ifdef DEBUG
-        fprintf(stderr, "MSN Plugin: Returning login cookie to MSN\n");
-        fprintf(stderr, "MSN Plugin: Cookie: %s\n", info->cookie);
-#endif
-        
         std::ostringstream buf_;
         buf_ << "USR " << trid << " TWN S " << info->cookie << "\r\n";
         this->write(buf_);
@@ -952,9 +931,7 @@
         std::string headers_ = std::string((char *)ptr, size * nmemb);
         Message::Headers headers = Message::Headers(headers_);
         cookiedata = headers["Authentication-Info:"];
-#ifdef DEBUG
-        printf("MSN Plugin: Authentication-Info header: %s\n", 
cookiedata.empty() ? "Not found" : "Found");
-#endif
+
         if (! cookiedata.empty()) 
         {
             size_t pos = cookiedata.find(",from-PP='");



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>