]> git.meshlink.io Git - meshlink/blobdiff - src/process.c
Update copyright notices.
[meshlink] / src / process.c
index 19c058293ec53d506a4dacbd0c8449587ec4e2e8..c8231afb43d56768ca2a5cdf65931ef28fe49e1a 100644 (file)
@@ -1,7 +1,7 @@
 /*
     process.c -- process management functions
     Copyright (C) 1999-2005 Ivo Timmermans,
-                  2000-2011 Guus Sliepen <guus@tinc-vpn.org>
+                  2000-2012 Guus Sliepen <guus@tinc-vpn.org>
 
     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
@@ -73,7 +73,7 @@ static bool install_service(void) {
        strncat(command, "\"", sizeof command - strlen(command));
 
        for(char **argp = g_argv + 1; *argp; argp++) {
-               char &space = strchr(*argp, ' ');
+               char *space = strchr(*argp, ' ');
                strncat(command, " ", sizeof command - strlen(command));
 
                if(space)