]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-546
authorJeff Lenk <jeff@jefflenk.com>
Thu, 4 Feb 2010 22:21:23 +0000 (22:21 +0000)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 4 Feb 2010 22:21:23 +0000 (22:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16572 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/fs_cli.2008.vcproj
libs/esl/fs_cli.c

index 8501539dbbd87bdad412ef96bef2ad9117c352e2..c92aa82c26757beba4cb227e88ffcff778f431df 100644 (file)
@@ -55,7 +55,6 @@
                                WarnAsError="true"\r
                                DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4100;6053;4706"\r
-                               EnablePREfast="true"\r
                        />\r
                        <Tool\r
                                Name="VCManagedResourceCompilerTool"\r
                                WarnAsError="true"\r
                                DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4100;6053;4706"\r
-                               EnablePREfast="true"\r
                        />\r
                        <Tool\r
                                Name="VCManagedResourceCompilerTool"\r
index 3edb377b7a16fe24d68d19837a8ead0349044411..6e348b47cff1ef0f940cb19133a4b14b17473c33 100644 (file)
@@ -891,7 +891,7 @@ static unsigned char esl_console_complete(const char *buffer, const char *cursor
 
        if (global_handle->last_sr_event && global_handle->last_sr_event->body) {
                char *r = global_handle->last_sr_event->body;
-               char *w, *p;
+               char *w, *p1;
                
                if (r) {
                        if ((w = strstr(r, "\n\nwrite="))) {
@@ -901,8 +901,8 @@ static unsigned char esl_console_complete(const char *buffer, const char *cursor
 
                                len = atoi(w);
 
-                               if ((p = strchr(w, ':'))) {
-                                       w = p + 1;
+                               if ((p1= strchr(w, ':'))) {
+                                       w = p1+ 1;
                                }
                                
                                printf("%s\n\n\n", r);