[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-49
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-496-g7b54c78 |
Date: |
Fri, 26 Apr 2013 12:08:42 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via 7b54c7800b0a82a30a49a2ce8f166db1ffd13316 (commit)
from 5da6bf5e65fd4a48afc9d21a357bed69e1be4ee4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=7b54c7800b0a82a30a49a2ce8f166db1ffd13316
commit 7b54c7800b0a82a30a49a2ce8f166db1ffd13316
Author: Daniele Forsi <address@hidden>
Date: Fri Apr 26 14:04:46 2013 +0200
Exit program if --sendsms --animation failed to load a file
diff --git a/gnokii/gnokii-sms.c b/gnokii/gnokii-sms.c
index d3ce419..c0d23ef 100644
--- a/gnokii/gnokii-sms.c
+++ b/gnokii/gnokii-sms.c
@@ -189,7 +189,10 @@ gn_error sendsms(int argc, char *argv[], gn_data *data,
struct gn_statemachine *
t = strchr(s, ';');
if (t)
*t++ = 0;
-
loadbitmap(&sms.user_data[curpos].u.animation[i], s, i ? GN_BMP_EMSAnimation2 :
GN_BMP_EMSAnimation, state);
+ error =
loadbitmap(&sms.user_data[curpos].u.animation[i], s, \
+ i ? GN_BMP_EMSAnimation2 :
GN_BMP_EMSAnimation, state);
+ if (error != GN_ERR_NONE)
+ return error;
s = t;
}
sms.user_data[++curpos].type = GN_SMS_DATA_None;
-----------------------------------------------------------------------
Summary of changes:
gnokii/gnokii-sms.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-496-g7b54c78,
Daniele Forsi <=