quote spaces

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7794 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-01-16 01:31:34 +00:00
parent 252ea565e4
commit 5b1f7b9c0a

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997-1999 Kungliga Tekniska H<>gskolan * Copyright (c) 1997-2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@@ -176,7 +176,7 @@ exit:
return ret; return ret;
} }
static const char quotable_chars[] = "\n\t\b\\/@"; static const char quotable_chars[] = " \n\t\b\\/@";
static const char replace_chars[] = "ntb\\/@"; static const char replace_chars[] = "ntb\\/@";
#define add_char(BASE, INDEX, LEN, C) do { if((INDEX) < (LEN)) (BASE)[(INDEX)++] = (C); }while(0); #define add_char(BASE, INDEX, LEN, C) do { if((INDEX) < (LEN)) (BASE)[(INDEX)++] = (C); }while(0);