Handle password=0 for z_HTTP_header_add_basic_auth
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 11 Apr 2011 09:18:18 +0000 (11:18 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 11 Apr 2011 09:18:18 +0000 (11:18 +0200)
commitd6717ba6822aea328e4a456edcf0318261cdc175
tree1173fc622623b78e0203ddd0b76756b778d83c07
parent8e4e5fd8b258f7e3db8a5356cfc8ccddddebd150
Handle password=0 for z_HTTP_header_add_basic_auth

Avoid 0-ptr reference for z_HTTP_header_add_basic_auth . If NULL
password is passed that is treated as treated as empty string.
src/http.c