<h1>Project "FreeSWITCH Source" received a push.</h1>

<h2>branch: master updated</h2>
<pre>
       via: 986f258db05f7b841fcb68231ae07d5174fbcb38 (commit)
      from: e96acac3c803d00d5fe0802dfa1e17865290e50e (commit)


</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments: 
let ctl-c work until you are connected

<span style="color: #000080; font-weight: bold">diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c</span>
<span style="color: #000080; font-weight: bold">index a70d63f..19c5795 100644</span>
<span style="color: #A00000">--- a/libs/esl/fs_cli.c</span>
<span style="color: #00A000">+++ b/libs/esl/fs_cli.c</span>
<span style="color: #800080; font-weight: bold">@@ -53,6 +53,7 @@ static unsigned char esl_console_complete(const char *buffer, const char *cursor</span>
 #endif
 
 static char prompt_str[512] = &quot;&quot;;
<span style="color: #00A000">+static int CONNECTED = 0;</span>
 
 typedef struct {
         char name[128];
<span style="color: #800080; font-weight: bold">@@ -537,6 +538,11 @@ static void handle_SIGINT(int sig)</span>
 {
         if (sig);
 
<span style="color: #00A000">+        if (!CONNECTED) {</span>
<span style="color: #00A000">+                fprintf(stdout, &quot;Interrupted.\n&quot;);</span>
<span style="color: #00A000">+                exit(1);</span>
<span style="color: #00A000">+        }</span>
<span style="color: #00A000">+</span>
         WARN_STOP = 1;
 
         signal(SIGINT, handle_SIGINT);
<span style="color: #800080; font-weight: bold">@@ -1235,6 +1241,8 @@ int main(int argc, char *argv[])</span>
 
  connect:
 
<span style="color: #00A000">+        CONNECTED = 0;</span>
<span style="color: #00A000">+</span>
         while (--loops &gt; 0) {
                 memset(&amp;handle, 0, sizeof(handle));
                 if (esl_connect(&amp;handle, profile-&gt;host, profile-&gt;port, profile-&gt;user, profile-&gt;pass)) {
<span style="color: #800080; font-weight: bold">@@ -1252,6 +1260,8 @@ int main(int argc, char *argv[])</span>
                                 esl_log(ESL_LOG_INFO, &quot;Retrying\n&quot;);
                         }
                 } else {
<span style="color: #00A000">+                        CONNECTED = 1;</span>
<span style="color: #00A000">+</span>
                         if (temp_log &lt; 0 ) {
                                 esl_global_set_default_logger(profile-&gt;debug);
                         } else {
</pre></div>
========================================================================<pre>

Summary of changes:
 libs/esl/fs_cli.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>