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

<h2>branch: master updated</h2>
<pre>
       via: cf83f9c381a6abb988efc41b8711271b4665b79e (commit)
      from: 080c5ae98167e590bebf698439c550bdb656925e (commit)


</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: cypromis
comments: 
seems whitespaces are unpopular on some linux/gcc combinations

<span style="color: #000080; font-weight: bold">diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c</span>
<span style="color: #000080; font-weight: bold">index f868c3a..1684127 100644</span>
<span style="color: #A00000">--- a/src/mod/applications/mod_voicemail/mod_voicemail.c</span>
<span style="color: #00A000">+++ b/src/mod/applications/mod_voicemail/mod_voicemail.c</span>
<span style="color: #800080; font-weight: bold">@@ -1277,11 +1277,8 @@ static void message_count(vm_profile_t *profile, const char *id_in, const char *</span>
 
         myid = resolve_id(id_in, domain_name, &quot;message-count&quot;);
 
<span style="color: #A00000">-        switch_snprintf(sql, sizeof(sql),</span>
<span style="color: #A00000">-                                        &quot;select 1, read_flags, count(read_epoch) from voicemail_msgs where username=&#39;%s&#39; and domain=&#39;%s&#39; and in_folder=&#39;%s&#39; and read_epoch=0 group by read_flags </span>
<span style="color: #A00000">-                                        union </span>
<span style="color: #A00000">-                                        select 0, read_flags, count(read_epoch) from voicemail_msgs where username=&#39;%s&#39; and domain=&#39;%s&#39; and in_folder=&#39;%s&#39; and read_epoch&lt;&gt;0 group by read_flags;&quot;,        </span>
<span style="color: #A00000">-                                        myid, domain_name, myfolder);</span>
<span style="color: #00A000">+        switch_snprintf(sql, sizeof(sql), &quot;select 1, read_flags, count(read_epoch) from voicemail_msgs where username=&#39;%s&#39; and domain=&#39;%s&#39; and in_folder=&#39;%s&#39; and read_epoch=0 group by read_flags union </span>
<span style="color: #00A000">+        select 0, read_flags, count(read_epoch) from voicemail_msgs where username=&#39;%s&#39; and domain=&#39;%s&#39; and in_folder=&#39;%s&#39; and read_epoch&lt;&gt;0 group by read_flags;&quot;,        myid, domain_name, myfolder);</span>
 
         vm_execute_sql_callback(profile, profile-&gt;mutex, sql, message_count_callback, &amp;cbt);
 
</pre></div>
========================================================================<pre>

Summary of changes:
 src/mod/applications/mod_voicemail/mod_voicemail.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 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>