current client-tags.c,1.4,1.5
Fabian Keil <[email protected]> Sun, 08 May 2016 10:46:07 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20492
Modified Files:
client-tags.c
Log Message:
remove_tag_for_client(): Silence a coverity warning (CID #161202)
Index: client-tags.c
===================================================================
RCS file: /cvsroot/ijbswa/current/client-tags.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** client-tags.c 30 Mar 2016 11:15:52 -0000 1.4
--- client-tags.c 8 May 2016 10:46:05 -0000 1.5
***************
*** 366,369 ****
--- 366,376 ----
}
+ assert(clients_with_tags != NULL);
+ if (clients_with_tags == NULL)
+ {
+ log_error(LOG_LEVEL_ERROR,
+ "Tried to remove tag %s for tag-less client %s",
+ tag, client_address);
+ }
enabled_tags = clients_with_tags->tags;
while (enabled_tags != NULL)
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z