mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
More correct handling of insufficient memory
This commit is contained in:
1 parent
ee0eac51d6
commit
b81089f22e
2 files changed
+135
-25
No files matched your search
+1
-1
@@ -168,7 +168,7 @@ int start_proxy_thread(struct child * chp){
|
||||
#endif
|
||||
while(conf.threadinit)usleep(SLEEPTIME);
|
||||
if(haveerror) {
|
||||
fprintf(stderr, "Service not started on line: %d\n", linenum);
|
||||
fprintf(stderr, "Service not started on line: %d%s\n", linenum, haveerror == 2? ": insufficient memory":"");
|
||||
return(40);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user