]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/sendmail.c
fixing small memory leak
[irc/evilnet/x3.git] / src / sendmail.c
index 8c211e7e6fd9ea01163e3ff5860a8de74fc0a7f8..5a6dd5955fbec8752baf7664ec6ff47a25de4738 100644 (file)
@@ -3,7 +3,7 @@
  *
  * This file is part of x3.
  *
- * srvx is free software; you can redistribute it and/or modify
+ * x3 is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
@@ -85,7 +85,7 @@ send_flowed_text(FILE *where, const char *para)
             break;
         } else if (eol && (eol < para + (80 - shift))) {
             /* Newline inside paragraph, no need to wrap. */
-            fprintf(where, "%.*s\n", eol - para, para);
+            fprintf(where, "%.*s\n", (int)(eol - para), para);
             para = eol + 1;
         } else {
             int pos;