Hi Hal

Fixing something that got lost in the porting -
osm_log reports state for windows service.
--
Yevgeny

Signed-off-by:  Yevgeny Kliteynik <[EMAIL PROTECTED]>
 
Index: osm_log.c
===================================================================
--- osm_log.c   (revision 9941)
+++ osm_log.c   (working copy)
@@ -81,6 +81,13 @@ static char *month_str[] = {
   "Nov",
   "Dec"
 };
+#else
+void 
+OsmReportState(
+    IN const char *p_str);
+#endif /* ndef WIN32 */
+
+#ifndef WIN32
 
 static void truncate_log_file(osm_log_t* const p_log)
 {
@@ -146,6 +153,9 @@ osm_log(
         printf("%s\n", buffer);
         fflush( stdout );
       }
+#ifdef WIN32
+      OsmReportState(buffer);
+#endif /* WIN32 */
     }
 
     /* regular log to default out_port */


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to