"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/protocols/protocol.c" between
monit-5.25.3.tar.gz and monit-5.26.0.tar.gz

About: Monit is a utility for managing and monitoring processes, files, directories and filesystems (with automatic error recovery).

protocol.c  (monit-5.25.3):protocol.c  (monit-5.26.0)
skipping to change at line 74 skipping to change at line 74
&(struct Protocol_T){"SIP", check_sip}, &(struct Protocol_T){"SIP", check_sip},
&(struct Protocol_T){"LMTP", check_lmtp}, &(struct Protocol_T){"LMTP", check_lmtp},
&(struct Protocol_T){"GPS", check_gps}, &(struct Protocol_T){"GPS", check_gps},
&(struct Protocol_T){"RADIUS", check_radius}, &(struct Protocol_T){"RADIUS", check_radius},
&(struct Protocol_T){"MEMCACHE", check_memcache}, &(struct Protocol_T){"MEMCACHE", check_memcache},
&(struct Protocol_T){"WEBSOCKET", check_websocket}, &(struct Protocol_T){"WEBSOCKET", check_websocket},
&(struct Protocol_T){"REDIS", check_redis}, &(struct Protocol_T){"REDIS", check_redis},
&(struct Protocol_T){"MONGODB", check_mongodb}, &(struct Protocol_T){"MONGODB", check_mongodb},
&(struct Protocol_T){"SIEVE", check_sieve}, &(struct Protocol_T){"SIEVE", check_sieve},
&(struct Protocol_T){"SPAMASSASSIN", check_spamassassin}, &(struct Protocol_T){"SPAMASSASSIN", check_spamassassin},
&(struct Protocol_T){"FAIL2BAN", check_fail2ban} &(struct Protocol_T){"FAIL2BAN", check_fail2ban},
&(struct Protocol_T){"MQTT", check_mqtt}
}; };
/* ------------------------------------------------------------------ Public */ /* ------------------------------------------------------------------ Public */
Protocol_T Protocol_get(Protocol_Type type) { Protocol_T Protocol_get(Protocol_Type type) {
if (type >= sizeof(protocols)/sizeof(protocols[0])) if (type >= sizeof(protocols)/sizeof(protocols[0]))
return protocols[0]; return protocols[0];
return protocols[type]; return protocols[type];
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)