X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=scripts%2Fdhclient-script.c;h=94543a05371e10aff27425e240c526e012f56bf1;hb=e76c122e6c313b881c019da638c243b0765bf06f;hp=68b755a3c62c5d2497a352047fa08ae929e562c5;hpb=ddebf05b54091172088efbf57069f14163ea33c8;p=connman diff --git a/scripts/dhclient-script.c b/scripts/dhclient-script.c index 68b755a..94543a0 100644 --- a/scripts/dhclient-script.c +++ b/scripts/dhclient-script.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -118,6 +118,8 @@ int main(int argc, char *argv[]) if (dbus_connection_send(conn, msg, NULL) == FALSE) fprintf(stderr, "Failed to send message\n"); + dbus_connection_flush(conn); + dbus_message_unref(msg); dbus_connection_unref(conn);