[PATCH 2/2] Generate correct json

Salvo Tomaselli tiposchi at tiscali.it
Tue Aug 26 11:04:48 PDT 2014


Oh I found a bug with this: it needs to skip also \t.

In data martedì 26 agosto 2014 19:56:20, Salvo 'LtWorf' Tomaselli ha scritto:
> Not quite the solution I'd want, but the json generation would need
> +			//Skip whitespace
> +			while (buf[i + inc] == ' ' || buf[i + inc] == '\n')
> +				inc++;

-- 
Salvo Tomaselli

"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
                -- Galileo Galilei

http://ltworf.github.io/ltworf/


More information about the subsurface mailing list