Remove false warnings from printf checks

svn:r340
This commit is contained in:
Nick Mathewson
2003-06-21 19:03:22 +00:00
parent 49f082fcee
commit efbcd71b9b
6 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ void circuit_close(circuit_t *circ) {
assert(circ);
if(options.APPort) {
youngest = circuit_get_newest_ap();
log_fn(LOG_DEBUG,"youngest %d, circ %d.",youngest, (int)circ);
log_fn(LOG_DEBUG,"youngest %d, circ %d.",(int)youngest, (int)circ);
}
circuit_remove(circ);
if(circ->n_conn)
+1 -1
View File
@@ -792,7 +792,7 @@ int tor_main(int argc, char *argv[]) {
if(getconfig(argc,argv,&options))
exit(1);
log(options.loglevel,NULL); /* assign logging severity level from options */
log_set_severity(options.loglevel); /* assign logging severity level from options */
if(options.Daemon)
daemonize();
+1 -1
View File
@@ -329,7 +329,7 @@ crypt_path_t *onion_generate_cpath(routerinfo_t **firsthop) {
log(LOG_DEBUG,"onion_generate_cpath(): %u : %s:%u, %u/%u",routelen-i,
inet_ntoa(netaddr),
(rarray[route[i]])->or_port,
(rarray[route[i]])->pkey,
(int) (rarray[route[i]])->pkey,
crypto_pk_keysize((rarray[route[i]])->pkey));
}
+1 -1
View File
@@ -594,7 +594,7 @@ main(int c, char**v){
if(getconfig(c,v,&options))
exit(1);
#endif
log(LOG_ERR,NULL); /* make logging quieter */
log_set_severity(LOG_ERR); /* make logging quieter */
crypto_seed_rng();