Author: iratqq
Date: Sat Apr 12 08:05:51 2008
New Revision: 5412
Modified:
trunk/uim/uim-helper.c
Log:
* uim/uim-helper.c (uim_helper_send_message):
- Fix error case in uim_asprintf().
Modified: trunk/uim/uim-helper.c
==============================================================================
--- trunk/uim/uim-helper.c (original)
+++ trunk/uim/uim-helper.c Sat Apr 12 08:05:51 2008
@@ -123,7 +123,7 @@
return;
#endif
- if (uim_asprintf(&buf, "%s\n", message) || buf == NULL)
+ if (uim_asprintf(&buf, "%s\n", message) < 0 || buf == NULL)
return;
old_sigpipe = signal(SIGPIPE, SIG_IGN);