/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
/**
if (username == 0)
return;
+ if (password == 0)
+ password = "";
len = strlen(username) + strlen(password);
tmp = (char *) odr_malloc(o, len+2);