comparison audioDB.cpp @ 75:a7b7a1ca68b8

Whoops. %lud is not "long unsigned int", it's "long unsigned int + d".
author mas01cr
date Mon, 01 Oct 2007 13:32:55 +0000
parents ec349966368c
children f6cc39635877
comparison
equal deleted inserted replaced
74:ec349966368c 75:a7b7a1ca68b8
2434 if (s < 0) 2434 if (s < 0)
2435 { 2435 {
2436 soap_print_fault(&soap, stderr); 2436 soap_print_fault(&soap, stderr);
2437 break; 2437 break;
2438 } 2438 }
2439 fprintf(stderr, "%d: accepted connection from IP=%lud.%lud.%lud.%lud socket=%d\n", i, 2439 fprintf(stderr, "%d: accepted connection from IP=%lu.%lu.%lu.%lu socket=%d\n", i,
2440 (soap.ip >> 24)&0xFF, (soap.ip >> 16)&0xFF, (soap.ip >> 8)&0xFF, soap.ip&0xFF, s); 2440 (soap.ip >> 24)&0xFF, (soap.ip >> 16)&0xFF, (soap.ip >> 8)&0xFF, soap.ip&0xFF, s);
2441 if (soap_serve(&soap) != SOAP_OK) // process RPC request 2441 if (soap_serve(&soap) != SOAP_OK) // process RPC request
2442 soap_print_fault(&soap, stderr); // print error 2442 soap_print_fault(&soap, stderr); // print error
2443 fprintf(stderr, "request served\n"); 2443 fprintf(stderr, "request served\n");
2444 soap_destroy(&soap); // clean up class instances 2444 soap_destroy(&soap); // clean up class instances