Changeset 408
- Timestamp:
- 03/23/06 16:45:48 (3 years ago)
- Files:
-
- nepenthes/trunk/modules/dnsresolve-adns/dnsresolve-adns.cpp (modified) (1 diff)
- nepenthes/trunk/modules/download-curl/download-curl.cpp (modified) (1 diff)
- nepenthes/trunk/modules/submit-norman/submit-norman.cpp (modified) (1 diff)
- nepenthes/trunk/modules/x-7/x-7.cpp (modified) (2 diffs)
- nepenthes/trunk/nepenthes-core/include/DownloadHandler.hpp (modified) (1 diff)
- nepenthes/trunk/nepenthes-core/include/UploadHandler.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/trunk/modules/dnsresolve-adns/dnsresolve-adns.cpp
r341 r408 162 162 { 163 163 adns_query q, r; 164 void *vr; 165 164 166 adns_answer *answer; 165 167 DNSQuery *query; 168 166 169 ADNSContext *ctx; 170 void *vctx; 167 171 168 172 logSpam("%i DNS Resolves in Queue\n", m_Queue); 169 173 170 174 adns_forallqueries_begin(m_aDNSState); 171 while ( (q = adns_forallqueries_next(m_aDNSState, (void **)&r)) != NULL ) 172 { 173 174 switch ( adns_check(m_aDNSState, &q, &answer, (void **)&ctx) ) 175 while ( (q = adns_forallqueries_next(m_aDNSState, (void **)&vr)) != NULL ) 176 { 177 r = (adns_query)vr; 178 179 int adns_ret = adns_check(m_aDNSState, &q, &answer, (void **)&vctx); 180 ctx = (ADNSContext *)vctx; 181 182 switch ( adns_ret ) 175 183 { 176 184 case 0: nepenthes/trunk/modules/download-curl/download-curl.cpp
r341 r408 148 148 { 149 149 Download *pDown; 150 char *cDown; 150 151 char * szUrl; 151 152 152 curl_easy_getinfo(pMessage->easy_handle, CURLINFO_PRIVATE, (char * *) &pDown); 153 curl_easy_getinfo(pMessage->easy_handle, CURLINFO_PRIVATE, (char * *) &cDown); 154 pDown = (Download *)cDown; 153 155 if ( pMessage->data.result ) 154 156 { nepenthes/trunk/modules/submit-norman/submit-norman.cpp
r341 r408 226 226 { 227 227 NormanContext *norm; 228 char *cnorm; 228 229 char * szUrl; 229 230 230 curl_easy_getinfo(pMessage->easy_handle, CURLINFO_PRIVATE, (char * *) &norm); 231 curl_easy_getinfo(pMessage->easy_handle, CURLINFO_PRIVATE, (char * *) &cnorm); 232 norm = (NormanContext *)cnorm; 233 231 234 if ( pMessage->data.result ) 232 235 { nepenthes/trunk/modules/x-7/x-7.cpp
r332 r408 176 176 ConsumeLevel X7Dialogue::incomingData(Message *msg) 177 177 { 178 if(!(msg->getSocket()->getType() & ST_RAW_UDP))178 /* if(!(msg->getSocket()->getType() & ST_RAW_UDP)) 179 179 { 180 180 logCrit("GOT NON UDP Packet %i \n",msg->getSize()); … … 265 265 266 266 } 267 /* 267 268 268 int32_t j=0; 269 269 for (int32_t i=0;i<dns->number_questions;i++) nepenthes/trunk/nepenthes-core/include/DownloadHandler.hpp
r332 r408 65 65 } 66 66 67 virtual string DownloadHandler::getDownloadHandlerDescription()67 virtual string getDownloadHandlerDescription() 68 68 { 69 69 return m_DownloadHandlerDescription; nepenthes/trunk/nepenthes-core/include/UploadHandler.hpp
r332 r408 58 58 } 59 59 60 virtual string UploadHandler::getUploadHandlerDescription()60 virtual string getUploadHandlerDescription() 61 61 { 62 62 return m_UploadHandlerDescription;
