changeset 68 | d549894aa6a9 |
parent 10 | f19f44e2e863 |
child 77 | 49e0babccb23 |
--- a/ddos/server.c +++ b/ddos/server.c @@ -13,7 +13,7 @@ #include <sys/types.h> #include <signal.h> -int set_limit (int); +int set_proc_limit (int); int main (int argc, char **argv) { @@ -61,7 +61,7 @@ */ signal (SIGCHLD, SIG_IGN); - if (set_limit (500) != 0) { + if (set_proc_limit (200) != 0) { printf ("Cannot limit the process limit\n"); return EXIT_FAILURE; }