]> andersk Git - openssh.git/blobdiff - servconf.c
- dtucker@cvs.openbsd.org 2004/08/13 11:09:24
[openssh.git] / servconf.c
index 36b97a550e9b9b9dfa8afbf2d397de117a7b2299..fae3c658e1d27968fb91adf3c261155f351a356f 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: servconf.c,v 1.136 2004/08/11 11:09:54 dtucker Exp $");
+RCSID("$OpenBSD: servconf.c,v 1.137 2004/08/13 11:09:24 dtucker Exp $");
 
 #include "ssh.h"
 #include "log.h"
@@ -979,7 +979,7 @@ parse_server_config(ServerOptions *options, const char *filename, Buffer *conf)
        debug2("%s: config %s len %d", __func__, filename, buffer_len(conf));
 
        obuf = cbuf = xstrdup(buffer_ptr(conf));
-       linenum = 0;
+       linenum = 1;
        while((cp = strsep(&cbuf, "\n")) != NULL) {
                if (process_server_config_line(options, cp, filename,
                    linenum++) != 0)
This page took 0.032743 seconds and 4 git commands to generate.