fixed PASTE=False compilation

This commit is contained in:
roberto@voldemort
2010-09-07 10:01:34 +02:00
parent f35ad319cf
commit a6aa2c31c6
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -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);
}
}
+2
View File
@@ -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;