diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-14 10:43:20 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-14 10:43:20 -0400 |
commit | fed09a34189c3e2f3e8378f143c63683767d0104 (patch) | |
tree | 2108cb343321758da504cbba033fc99e67e33436 /response.c | |
parent | ad41125d65400ae608d99fd95aefad93102d260e (diff) |
Fix improper string memory allocation
Diffstat (limited to 'response.c')
-rw-r--r-- | response.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -131,15 +131,13 @@ void responseCb(gpointer instance, GObject *arg1, gpointer user_data) GPollableOutputStream* stream = (GPollableOutputStream*)data->outStream; gchar* str = data->data; + // I2C/LCD test functions - start - FIXME g_strstrip(str); - - // I2C/LCD test functions - start guchar status = I2C_Read (PCF8574A + Upper_Encoder_Port); gchar *lcd_str = g_strdup_printf ("%s %x",str,status); LCD_display_error_message(lcd_str); // I2C/LCD test functions - stop - // FIXME - Parser_main may generate multiple responses Parser_main(str, 1, data->cb, stream); g_static_mutex_unlock (&mutex); |