Fix version
authorMark Spencer <markster@digium.com>
Fri, 5 Sep 2003 04:36:58 +0000 (04:36 +0000)
committerMark Spencer <markster@digium.com>
Fri, 5 Sep 2003 04:36:58 +0000 (04:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1477 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index 1689e54..498a056 100755 (executable)
@@ -1058,7 +1058,7 @@ static void ast_remotecontrol(char * data)
        stringp=buf;
        hostname = strsep(&stringp, "/");
        cpid = strsep(&stringp, "/");
-       version = strsep(&stringp, "/");
+       version = strsep(&stringp, "\n");
        if (!version)
                version = "<Version Unknown>";
        stringp=hostname;