Commits

Ruslan Osmanov committed 51c2d80

Tiny fix

  • Participants
  • Parent commits 8f8f228

Comments (0)

Files changed (2)

 
 Thus, before starting a signal watcher, I have to check it as follows:
 
- 	 if (signals[(w)->signum - 1].loop
- 	 && signals[(w)->signum - 1].loop != my_loop_ptr) {
-     	 /* error */
-     	 }
+	if (signals[(w)->signum - 1].loop
+		&& signals[(w)->signum - 1].loop != my_loop_ptr) {
+		/* error */
+	}
 
 But `signals` declared as static in libev/ev.c:
 
-	static ANSIG signals [EV_NSIG - 1]; 
+	static ANSIG signals [EV_NSIG - 1];
 
 So I need my own(MyG()?) array to check this.
 
                 	echo "failure\n";
         	}
 	);
- 	 
+ 	
 	event_buffer_base_set($buffer, $eventBase);
 	event_buffer_enable($buffer, EV_READ | EV_WRITE | EV_TIMEOUT | EV_PERSIST);
 	event_base_loop($eventBase);
   </extsrcrelease>
   <!--{{{ changelog-->
   <changelog>
-  <!--{{{ 0.2.0 (beta) -->
+  <!--{{{ 0.2.0 -->
   <version>
     <release>0.2.0</release>
     <api>0.2.0</api>