Re: ipw srcipts for hal
- From: dragoran <drago01 gmail com>
- To: yelo_3 <yelo_3 yahoo it>
- Cc: network manager <networkmanager-list gnome org>
- Subject: Re: ipw srcipts for hal
- Date: Mon, 25 Jun 2007 14:58:37 +0200
yelo_3 wrote:
instead of using sprintf you should use
#include <glib.h>
char* path = g_strconcat("/sys/class/net/", iface, "/device/rf_kill",
NULL);
[...]
g_free(path);
didn't want to make hal depend on glib but it seems that it does this
anyway so I will use this or g_strdup_printf()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]