summaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Cflow/files/patch-Cflow.xs
blob: 5a6aeab146f1f85cb97127d10d944ef25360f1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Cflow.xs.old	Sun Nov  7 06:42:07 2004
+++ Cflow.xs	Sun Nov  7 06:42:32 2004
@@ -759,7 +759,7 @@
                       uint32_t index;
 #            ifdef OSU /* [ */
 		      struct fttime first, last;
-                      if ((FILE *)0 == fp) {
+                      if (0 <= ftio_check_generic(&fs)) {
 		         fdata = ftio_read(&fs);
                          if ((void *)0 == fdata) {
                             break;