[maemo-commits] [maemo-commits] r15424 - in projects/haf/trunk/maemo-launcher: . launcher
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Apr 16 01:35:53 EEST 2008
- Previous message: [maemo-commits] r15423 - projects/haf/trunk/maemo-launcher
- Next message: [maemo-commits] r15425 - in projects/haf/trunk/maemo-launcher: . launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: guillem Date: 2008-04-16 01:35:52 +0300 (Wed, 16 Apr 2008) New Revision: 15424 Modified: projects/haf/trunk/maemo-launcher/ChangeLog projects/haf/trunk/maemo-launcher/launcher/comm_msg.c Log: Use proper variable in sizeof Modified: projects/haf/trunk/maemo-launcher/ChangeLog =================================================================== --- projects/haf/trunk/maemo-launcher/ChangeLog 2008-04-15 22:35:49 UTC (rev 15423) +++ projects/haf/trunk/maemo-launcher/ChangeLog 2008-04-15 22:35:52 UTC (rev 15424) @@ -1,3 +1,8 @@ +2008-03-14 Guillem Jover <guillem.jover at nokia.com> + + * launcher/comm_msg.c (comm_msg_send): Use msg->used in sizeof instead + of msg->size. + 2008-03-07 Guillem Jover <guillem.jover at nokia.com> * README: Fix a typo and add a missing word. Modified: projects/haf/trunk/maemo-launcher/launcher/comm_msg.c =================================================================== --- projects/haf/trunk/maemo-launcher/launcher/comm_msg.c 2008-04-15 22:35:49 UTC (rev 15423) +++ projects/haf/trunk/maemo-launcher/launcher/comm_msg.c 2008-04-15 22:35:52 UTC (rev 15424) @@ -244,7 +244,7 @@ bool comm_msg_send(int fd, comm_msg_t *msg) { - write(fd, &msg->used, sizeof(msg->size)); + write(fd, &msg->used, sizeof(msg->used)); write(fd, msg->buf, msg->used); debug("%s: %08x\n", __FUNCTION__, msg);
- Previous message: [maemo-commits] r15423 - projects/haf/trunk/maemo-launcher
- Next message: [maemo-commits] r15425 - in projects/haf/trunk/maemo-launcher: . launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]