Changeset 112
- Timestamp:
- 11/16/06 12:04:45 (2 years ago)
- Files:
-
- wifidog/wifidog-1.1.3_beta4/src/util.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wifidog/wifidog-1.1.3_beta4/src/util.c
r106 r112 342 342 unsigned int days = 0, hours = 0, minutes = 0, seconds = 0; 343 343 t_trusted_mac *p; 344 int tinyproxyport; 344 345 345 346 len = 0; … … 388 389 len = strlen(buffer); 389 390 391 if(showtrusted) 392 { 393 if((tinyproxyport = config_get_config()->tinyproxy_port) != 0) 394 { 395 snprintf((buffer + len), (sizeof(buffer) - len), "TinyproxyPort : %u\n", tinyproxyport); 396 len = strlen(buffer); 397 } 398 399 snprintf((buffer + len), (sizeof(buffer) - len), "Lat : %s\nLon : %s\n", 400 config_get_config()->Lat, config_get_config()->Lon); 401 len = strlen(buffer); 402 } 403 390 404 snprintf((buffer + len), (sizeof(buffer) - len), "Clients served this session: %lu\n\n", served_this_session); 391 405 len = strlen(buffer);
