diff options
author | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 20:12:42 -0500 |
---|---|---|
committer | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 20:12:42 -0500 |
commit | 52b66ee4a84620966636a8fb87c45437a4a04b04 (patch) | |
tree | b618739c95459df0eaf05f092039b2f15af1743a /error_utils.c | |
parent | 08819acf094883c069e7c3088d5da6a9c24c45b8 (diff) |
many small fixes
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/error_utils.c b/error_utils.c index 68c8b93..2c48aba 100644 --- a/error_utils.c +++ b/error_utils.c @@ -91,7 +91,8 @@ void queue_error(int error_num) /*----------------------------------------------------------------------------------------------------------*/
void queue_error_and_get_text(gchar** response, int error_num)
{
- *response[0]=0;
+ g_assert (*response == NULL);
+
if (error_num == OK) {
return;
}
@@ -103,7 +104,8 @@ void queue_error_and_get_text(gchar** response, int error_num) /*----------------------------------------------------------------------------------------------------------*/
void queue_error_from_parser(gchar** response, int error_num)
{
- *response[0]=0;
+ g_assert (*response == NULL);
+
if (error_num == OK) {
return;
}
|