Changeset 283:49d314e9a883 for uwsgi.c
Legend:
- Unmodified
- Added
- Removed
-
uwsgi.c
r275 r283 607 607 {"proxy-max-connections", required_argument, 0, LONG_ARGS_PROXY_MAX_CONNECTIONS}, 608 608 {"wsgi-file", required_argument, 0, LONG_ARGS_WSGI_FILE}, 609 {"version", no_argument, 0, LONG_ARGS_VERSION}, 609 610 {0, 0, 0, 0} 610 611 }; … … 685 686 #endif 686 687 if (uwsgi.test_module == NULL) { 687 fprintf (stderr, "*** Starting uWSGI (%dbit) on [%.*s] ***\n", (int) (sizeof (void *)) * 8, 24, ctime ((const time_t *) &uwsgi.start_tv.tv_sec));688 fprintf (stderr, "*** Starting uWSGI %s (%dbit) on [%.*s] ***\n", UWSGI_VERSION, (int) (sizeof (void *)) * 8, 24, ctime ((const time_t *) &uwsgi.start_tv.tv_sec)); 688 689 } 689 690 #ifndef UNBIT 690 691 } 691 692 else { 692 fprintf (stderr, "*** Starting uWSGI (CGI mode) (%dbit) on [%.*s] ***\n", (int) (sizeof (void *)) * 8, 24, ctime ((const time_t *) &uwsgi.start_tv.tv_sec));693 fprintf (stderr, "*** Starting uWSGI %s (CGI mode) (%dbit) on [%.*s] ***\n", UWSGI_VERSION, (int) (sizeof (void *)) * 8, 24, ctime ((const time_t *) &uwsgi.start_tv.tv_sec)); 693 694 } 694 695 #endif … … 2506 2507 switch (i) { 2507 2508 #ifndef UNBIT 2509 case LONG_ARGS_VERSION: 2510 fprintf(stdout,"uWSGI %s\n", UWSGI_VERSION); 2511 exit(0); 2508 2512 case LONG_ARGS_PIDFILE: 2509 2513 uwsgi.pidfile = optarg;
