X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/299a14ee0d61b7994dc4ce5246b55b4d75fdcb2e..04024c2cafab56ea76a9a2b35097584d6db98c06:/lib/split.c diff --git a/lib/split.c b/lib/split.c index 1bb19a5..610fb3e 100644 --- a/lib/split.c +++ b/lib/split.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004, 2006 Richard Kettlewell + * Copyright (C) 2004, 2006-2008 Richard Kettlewell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,7 +56,8 @@ char **split(const char *p, size_t l; int qc; - if(!error_handler) error_handler = no_error_handler; + if(!error_handler) + error_handler = no_error_handler; vector_init(&v); while(*p && !(*p == '#' && (flags & SPLIT_COMMENTS))) { if(space(*p)) {