mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 14:41:55 +00:00
fixed PASTE=False compilation
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
void evdis_loop(struct uwsgi_server *uwsgi) {
|
||||
|
||||
// populate event list
|
||||
|
||||
int kfd = kqueue();
|
||||
if (kfd < 0) {
|
||||
uwsgi_error("kqueue()");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2984,6 +2984,7 @@ void manage_opt(int i, char *optarg) {
|
||||
case LONG_ARGS_INI:
|
||||
uwsgi.ini = optarg;
|
||||
break;
|
||||
#ifdef UWSGI_PASTE
|
||||
case LONG_ARGS_INI_PASTE:
|
||||
uwsgi.ini = optarg;
|
||||
if (uwsgi.ini[0] != '/') {
|
||||
@@ -3010,6 +3011,7 @@ void manage_opt(int i, char *optarg) {
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
#ifdef UWSGI_PASTE
|
||||
case LONG_ARGS_PASTE:
|
||||
uwsgi.paste = optarg;
|
||||
|
||||
Reference in New Issue
Block a user