Search squid archive

Re: username from external_acl to url_rewrite_program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you, Amos!
patch dont help because build error:
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I../.. -I../../include -I../../lib -I../../src -I../../include   -I../../libltdl -I/usr/include/libxml2  -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -c -o Format.lo Format.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -c Format.cc  -fPIC -DPIC -o .libs/Format.o
Format.cc: In member function 'void Format::Format::assemble(MemBuf&, const AccessLogEntry::Pointer&, int) const':
Format.cc:816: error: no match for 'operator&&' in '(out == 0u) && al'
Format.cc:816: note: candidates are: operator&&(bool, bool) <built-in>
Format.cc:816: error: 'class String' has no member named 'isEmpty'
cc1plus: warnings being treated as errors
Format.cc:817: error: declaration of 'tmp' shadows a previous local
Format.cc:315: error: shadowed declaration is here
make: *** [Format.lo] Error 1

I try to rewrite code like this:
..
if (!out && (al != NULL) && al->request && (al->request->extacl_user.size() == 0)) {
..
code is compiled but squid behavior no changed, still dash instead username.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux