r3266 - trunk/src/target/gsm/src/libgsmd
tick at sita.openmoko.org
tick at sita.openmoko.org
Thu Oct 25 13:48:55 CEST 2007
Author: tick
Date: 2007-10-25 13:48:53 +0200 (Thu, 25 Oct 2007)
New Revision: 3266
Modified:
trunk/src/target/gsm/src/libgsmd/libgsmd.c
Log:
adding return rc to lgsm_send_simple (Andrzej Zaborowski)
Modified: trunk/src/target/gsm/src/libgsmd/libgsmd.c
===================================================================
--- trunk/src/target/gsm/src/libgsmd/libgsmd.c 2007-10-25 10:35:26 UTC (rev 3265)
+++ trunk/src/target/gsm/src/libgsmd/libgsmd.c 2007-10-25 11:48:53 UTC (rev 3266)
@@ -222,11 +222,7 @@
if (!gmh)
return -ENOMEM;
rc = lgsm_send(lh, gmh);
- if (rc < gmh->len + sizeof(*gmh)) {
- lgsm_gmh_free(gmh);
- return -EIO;
- }
- lgsm_gmh_free(gmh);
- return 0;
+ lgsm_gmh_free(gmh);
+ return rc;
}
More information about the commitlog
mailing list