Merge branch 'winwarnings' of https://github.com/dechamps/tinc into 1.1
[oweals/tinc.git] / src / script.c
index 9a43d53188a6b0149d492aa35e37043edc375771..6389cb4b19ca0559a9c74373e0c83f7d30b598e8 100644 (file)
@@ -49,7 +49,7 @@ bool execute_script(const char *name, char **envp) {
                        if(q) {
                                memcpy(ext, p, q - p);
                                ext[q - p] = 0;
-                               *q++;
+                               q++;
                        } else {
                                strcpy(ext, p);
                        }