]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SMP SNMP
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 6 Feb 2011 19:50:52 +0000 (21:50 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 6 Feb 2011 19:50:52 +0000 (21:50 +0200)
In the case the SQUID_SNMP is disabled the MessageType enum list ends with a ","
The gcc compiler does not have any problem with this but SunStudio return a
parse error.

src/ipc/Messages.h

index b358f1b9812ba015a485c419922d268d68c580b1..2dafad156385a5552667f392ee82507604706ee9 100644 (file)
@@ -16,8 +16,9 @@ namespace Ipc
 /// message class identifier
 typedef enum { mtNone = 0, mtRegistration,
                mtSharedListenRequest, mtSharedListenResponse,
-               mtCacheMgrRequest, mtCacheMgrResponse,
+               mtCacheMgrRequest, mtCacheMgrResponse
 #if SQUID_SNMP
+               ,
                mtSnmpRequest, mtSnmpResponse
 #endif
              } MessageType;