comparison utils.c @ 2869:02e909632f18 libavformat

indent
author michael
date Sat, 29 Dec 2007 16:34:51 +0000
parents 22467d1cf49c
children f5de41d943e2
comparison
equal deleted inserted replaced
2868:22467d1cf49c 2869:02e909632f18
2964 /* separate path from hostname */ 2964 /* separate path from hostname */
2965 ls = strchr(p, '/'); 2965 ls = strchr(p, '/');
2966 if(!ls) 2966 if(!ls)
2967 ls = strchr(p, '?'); 2967 ls = strchr(p, '?');
2968 if(ls) 2968 if(ls)
2969 av_strlcpy(path, ls, path_size); 2969 av_strlcpy(path, ls, path_size);
2970 else 2970 else
2971 ls = &p[strlen(p)]; // XXX 2971 ls = &p[strlen(p)]; // XXX
2972 2972
2973 /* the rest is hostname, use that to parse auth/port */ 2973 /* the rest is hostname, use that to parse auth/port */
2974 if (ls != p) { 2974 if (ls != p) {