Mercurial > hg
comparison mcabber/src/hooks.c @ 1604:351427ef0b4b
Remove #include's of C files
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2009 15:59:53 +0200 |
parents | f4a2c6f767d1 |
children | 14690e624e9d |
comparison
equal
deleted
inserted
replaced
1603:54029aba9452 | 1604:351427ef0b4b |
---|---|
481 "Unable to create temp file for external command."); | 481 "Unable to create temp file for external command."); |
482 } else { | 482 } else { |
483 size_t data_locale_len = strlen(data_locale); | 483 size_t data_locale_len = strlen(data_locale); |
484 ssize_t a = write(fd, data_locale, data_locale_len); | 484 ssize_t a = write(fd, data_locale, data_locale_len); |
485 ssize_t b = write(fd, "\n", 1); | 485 ssize_t b = write(fd, "\n", 1); |
486 if (a != data_locale_len || b != 1) { | 486 if ((size_t)a != data_locale_len || b != 1) { |
487 g_free(datafname); | 487 g_free(datafname); |
488 datafname = NULL; | 488 datafname = NULL; |
489 scr_LogPrint(LPRINT_LOGNORM, | 489 scr_LogPrint(LPRINT_LOGNORM, |
490 "Unable to write to temp file for external command."); | 490 "Unable to write to temp file for external command."); |
491 } | 491 } |