[MPlayer-cvslog] CVS: main/libmpdemux cookies.c,1.4,1.5
Dominik Mierzejewski CVS
syncmail at mplayerhq.hu
Sun Nov 13 21:25:08 CET 2005
- Previous message: [MPlayer-cvslog] CVS: main/libaf Makefile, 1.25, 1.26 af_export.c, 1.4, 1.5 af_format.c, 1.30, 1.31 af_ladspa.c, 1.7, 1.8 af_lavcresample.c, 1.10, 1.11 af_mp.h, 1.5, 1.6 af_sweep.c, 1.3, 1.4
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c,1.33,1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Dominik Mierzejewski CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv13858
Modified Files:
cookies.c
Log Message:
Simplify weird code. ;)
Approved by Diego.
Index: cookies.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/cookies.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cookies.c 9 Dec 2003 11:27:10 -0000 1.4
+++ cookies.c 13 Nov 2005 20:25:06 -0000 1.5
@@ -234,11 +234,9 @@
for (i = 0; i < found_cookies; i++) {
if (strcmp(list->name, cookies[i]->name) == 0) {
replacing = 0;
- if (strlen(list->domain) >
- strlen(cookies[i]->domain) == 0) {
+ if (strlen(list->domain) <= strlen(cookies[i]->domain)) {
cookies[i] = list;
- } else if (strlen(list->path) >
- strlen(cookies[i]->path) == 0) {
+ } else if (strlen(list->path) <= strlen(cookies[i]->path)) {
cookies[i] = list;
}
}
- Previous message: [MPlayer-cvslog] CVS: main/libaf Makefile, 1.25, 1.26 af_export.c, 1.4, 1.5 af_format.c, 1.30, 1.31 af_ladspa.c, 1.7, 1.8 af_lavcresample.c, 1.10, 1.11 af_mp.h, 1.5, 1.6 af_sweep.c, 1.3, 1.4
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c,1.33,1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list