/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
/**
}
if (inbytesleft == 0)
return 0;
- else if (*inp == ' ')
+ else if (*inp <= ' ')
{
*no_read += 1;
- return ' ';
+ return *inp;
}
else
{