why use "%.24s\r\n" instead of "%24s\r\n" in the calling of function snprintf
<pre><code>char    buff[MAXLINE];
time_t  ticks;

ticks = time(NULL);
snprintf(buff, sizeof(buff), "%.24s\r\n", ctime(&amp;ticks)); // with .
</code></pre>

<p>I have tried the following line and don't see any difference:</p>

<pre><code>snprintf(buff, sizeof(buff), "%24s\r\n", ctime(&amp;ticks));  // without .
</code></pre>

<p>Do I miss some key point here?</p>

<p>Thank you</p>
