<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -41,11 +41,11 @@ memo_send_test(memo_database *db, unsigned count, const char *email) {
 	char *command;
 	memo_word **words;
 	int i;
+	command = xmalloc(ARRAY_SIZE(command_templ) + strlen(email) + 12);
+	sprintf(command, command_templ, email, time(0));
 	mailx = popen(command, &quot;w&quot;);
 	if (!mailx)
 		failed(&quot;popen&quot;);
-	command = xmalloc(ARRAY_SIZE(command_templ) + strlen(email) + 12);
-	sprintf(command, command_templ, email, time(0));
 	words = memo_database_words_to_test(db, count);
 	for (i = 0; i &lt; count &amp;&amp; words[i]; ++i) {
 		fprintf(mailx, &quot;%s = \n&quot;, memo_word_get_value(words[i]));</diff>
      <filename>libmemo/messaging.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6249ab6e5fe08746e7161176b33c3fb943c37b94</id>
    </parent>
  </parents>
  <author>
    <name>Jan St&#281;pie&#324;</name>
    <login>jstepien</login>
    <email>jstepien@users.sourceforge.net</email>
  </author>
  <url>http://github.com/jstepien/memo/commit/0118218fa372934e7206d0cb78384d932177f9f5</url>
  <id>0118218fa372934e7206d0cb78384d932177f9f5</id>
  <committed-date>2009-02-21T14:05:04-08:00</committed-date>
  <authored-date>2009-02-21T14:05:04-08:00</authored-date>
  <message>Fixed a bug in memo_send_test.</message>
  <tree>aa6aad49957268b78d864d7fe372a39b7887a1bd</tree>
  <committer>
    <name>Jan St&#281;pie&#324;</name>
    <login>jstepien</login>
    <email>jstepien@users.sourceforge.net</email>
  </committer>
</commit>
