From: Peter Dinda Date: Thu, 27 Dec 2012 02:10:45 +0000 (-0600) Subject: Allow spaces in key names for textfile: saves X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=9ff1045b53ca94048ec8a113efb74d691477f264 Allow spaces in key names for textfile: saves --- diff --git a/linux_module/iface-keyed-stream.c b/linux_module/iface-keyed-stream.c index 75978ab..c545fd7 100644 --- a/linux_module/iface-keyed-stream.c +++ b/linux_module/iface-keyed-stream.c @@ -1449,7 +1449,7 @@ static v3_keyed_stream_key_t open_key_textfile(v3_keyed_stream_t stream, } - if (token_scan(ms,tempkey,keylen+3," \t\r\n",4)) { + if (token_scan(ms,tempkey,keylen+3,"\t\r\n",3)) { ERROR("Cannot scan for token (key search)\n"); close_key_file(mks,ms); mks->stype=STREAM_TEXTFILE;