Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 1 | Fix following error: |
| 2 | |
| 3 | netflowPlugin.c: In function 'netflowUtilsLoop': |
| 4 | netflowPlugin.c:2144:1: error: no return statement in function returning non-void [-Werror=return-type] |
| 5 | 2144 | } |
| 6 | | ^ |
| 7 | |
| 8 | Return NULL like netflowMainLoop does. |
| 9 | |
| 10 | --- ntop-5.0.1.orig/plugins/netflowPlugin.c 2012-03-09 17:44:17.000000000 +0000 |
| 11 | +++ ntop-5.0.1/plugins/netflowPlugin.c 2019-08-09 10:25:40.878799852 +0000 |
| 12 | @@ -2141,6 +2141,7 @@ |
| 13 | waitCondvar(&myGlobals.device[deviceId].netflowGlobals->ifStatsQueueCondvar); |
| 14 | } |
| 15 | } |
| 16 | + return(NULL); |
| 17 | } |
| 18 | #endif |
| 19 | |