Changeset 542
- Timestamp:
- 05/03/06 00:07:29 (3 years ago)
- Files:
-
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/DNSManager.cpp (modified) (2 diffs)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/DialogueFactoryManager.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/Nepenthes.cpp (modified) (5 diffs)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/SocketManager.cpp (modified) (2 diffs)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/SubmitManager.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/TCPSocket.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/UDPSocket.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/branches/nepenthes-experimental/nepenthes-core/src/DNSManager.cpp
r505 r542 78 78 if (m_DNSHandler == NULL) 79 79 { 80 logCrit(" %s","NO DNSHandler loaded, hit the docs\n");80 logCrit("NO DNSHandler loaded, hit the docs\n"); 81 81 g_Nepenthes->stop(); 82 82 return false; … … 105 105 }else 106 106 { 107 logCrit(" %s","availible DNSHandler dnsresolve-adns\n");107 logCrit("available DNSHandler dnsresolve-adns\n"); 108 108 } 109 109 logSpam("=--- %2s %-66s ---=\n","", "DNSHandler registerd"); nepenthes/branches/nepenthes-experimental/nepenthes-core/src/DialogueFactoryManager.cpp
r505 r542 70 70 list <DialogueFactory *>::iterator diaf; 71 71 int32_t i =0; 72 logSpam(" %s","=--- DialogueFactoryManager --=\n");72 logSpam("=--- DialogueFactoryManager --=\n"); 73 73 for (diaf = m_Factories.begin();diaf != m_Factories.end();diaf++, i++) 74 74 { nepenthes/branches/nepenthes-experimental/nepenthes-core/src/Nepenthes.cpp
r535 r542 464 464 } catch ( ... ) 465 465 { 466 logCrit(" %s","Could not find nepenthes.logmanager.ring_logging_file in Config\n");466 logCrit("Could not find nepenthes.logmanager.ring_logging_file in Config\n"); 467 467 run = false; 468 468 } … … 487 487 } catch ( ... ) 488 488 { 489 logCrit(" %s","Could not find nepenthes.logmanager.file_logging_file in Config\n");489 logCrit("Could not find nepenthes.logmanager.file_logging_file in Config\n"); 490 490 run = false; 491 491 } … … 688 688 if ( forcesetcaps == true ) 689 689 { 690 logCrit(" %s","As you asked to force capabilities, this is a critical error and we will terminate right now\n");690 logCrit("As you asked to force capabilities, this is a critical error and we will terminate right now\n"); 691 691 run = false; 692 692 } … … 1364 1364 cap_free(caps); 1365 1365 logCrit("Could not set capabilities '%s'\n",strerror(errno)); 1366 logCrit(" %s","Maybe you did not load the kernel module 'capability' ?\n");1367 logCrit(" %s","Try 'modprobe capability' \n");1366 logCrit("Maybe you did not load the kernel module 'capability' ?\n"); 1367 logCrit("Try 'modprobe capability' \n"); 1368 1368 return false; 1369 1369 } … … 1379 1379 return true; 1380 1380 #else 1381 logCrit(" %s","Compiled without support for capabilities, no way to run capabilities\n");1381 logCrit("Compiled without support for capabilities, no way to run capabilities\n"); 1382 1382 return false; 1383 1383 #endif // HAVE_LIBCAP nepenthes/branches/nepenthes-experimental/nepenthes-core/src/SocketManager.cpp
r500 r542 149 149 } 150 150 } catch ( ... ) { 151 logCrit(" %s","Could not find nepenthes.socketmanager.bind_address in config file, assuming no\n");151 logCrit("Could not find nepenthes.socketmanager.bind_address in config file, assuming no\n"); 152 152 } 153 153 … … 350 350 if ( socket == NULL ) 351 351 { 352 logCrit(" %s","Accept returned NULL ptr \n");352 logCrit("Accept returned NULL ptr \n"); 353 353 } else 354 354 { nepenthes/branches/nepenthes-experimental/nepenthes-core/src/SubmitManager.cpp
r505 r542 103 103 104 104 } catch ( ... ) { 105 logCrit(" %s","Could not find value in config file\n");105 logCrit("Could not find value in config file\n"); 106 106 return false; 107 107 } nepenthes/branches/nepenthes-experimental/nepenthes-core/src/TCPSocket.cpp
r370 r542 753 753 if (m_CanSend == false) 754 754 { 755 logCrit(" %s","Some read only attached Module wants to write on a Socket\n");755 logCrit("Some read only attached Module wants to write on a Socket\n"); 756 756 return -1; 757 757 } nepenthes/branches/nepenthes-experimental/nepenthes-core/src/UDPSocket.cpp
r370 r542 381 381 if (m_CanSend == false) 382 382 { 383 logCrit(" %s","Some read only attached Module wants to write on a Socket\n");383 logCrit("Some read only attached Module wants to write on a Socket\n"); 384 384 return -1; 385 385 } … … 394 394 if (m_CanSend == false) 395 395 { 396 logCrit(" %s","Some read only attached Module wants to write on a Socket\n");396 logCrit("Some read only attached Module wants to write on a Socket\n"); 397 397 return -1; 398 398 }
