-#define exit(x)\
-{\
- if(main_task)\
- {\
- if(main_task == FindTask(NULL))\
- {\
- while(childs) Delay(10*TICKS_PER_SECOND); exit(x);\
- } else {\
- CloseLibrary(SocketBase);\
- childs--;\
- RemTask(NULL);\
- }\
- }\
+#define exit(x) \
+{ \
+ if(main_task) \
+ { \
+ if(main_task == FindTask(NULL)) \
+ { \
+ while(childs) Delay(10*TICKS_PER_SECOND); exit(x); \
+ } \
+ else \
+ { \
+ CloseLibrary(SocketBase); \
+ childs--; \
+ RemTask(NULL); \
+ } \
+ } \
+ else \
+ { \
+ exit(x); \
+ } \