As per bug 8859 (Add option to revert old ChanIsAvail() with 's' option behavior...
[asterisk/asterisk.git] / pbx / dundi-parser.c
index 786f0a2..14ef9e7 100644 (file)
@@ -129,7 +129,7 @@ static void dump_string(char *output, int maxlen, void *value, int len)
        maxlen--;
        if (maxlen > len)
                maxlen = len;
-       strncpy(output,value, maxlen);
+       strncpy(output, value, maxlen);
        output[maxlen] = '\0';
 }