Removed never executed if statements. Used g_strlcpy instead of strncpy.

* procargs.c: (glibtop_get_proc_args_s): Removed never executed if statements.
	* procstate.c: (glibtop_get_proc_state_s): Used g_strlcpy instead of
	strncpy.
This commit is contained in:
Benoît Dejean
2004-06-06 21:21:27 +00:00
parent bc4a882c4a
commit 7de929d2d7
3 changed files with 7 additions and 15 deletions

View File

@@ -1,3 +1,9 @@
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
* procargs.c: (glibtop_get_proc_args_s): Removed never executed if statements.
* procstate.c: (glibtop_get_proc_state_s): Used g_strlcpy instead of
strncpy.
2004-05-25 Benoît Dejean <tazforever@dlfp.org>
* uptime.c: (glibtop_get_uptime_p): Added boot_time.