]> git.pld-linux.org Git - packages/apcupsd.git/blob - format-security.patch
copy am files in build (after BR is filled), enable verbose build
[packages/apcupsd.git] / format-security.patch
1 --- apcupsd-3.14.10/src/gapcmon/gapcmon.c~      2008-09-16 06:58:20.000000000 +0200
2 +++ apcupsd-3.14.10/src/gapcmon/gapcmon.c       2013-07-14 20:18:41.520640348 +0200
3 @@ -2883,15 +2883,9 @@
4  static void gapc_util_log_app_msg(gchar * pch_func, gchar * pch_topic,
5     gchar * pch_emsg)
6  {
7 -   gchar *pch = NULL;
8 -
9     g_return_if_fail(pch_func != NULL);
10  
11 -   pch = g_strdup_printf("%s(%s) emsg=%s", pch_func, pch_topic, pch_emsg);
12 -
13 -   g_message(pch);
14 -
15 -   g_free(pch);
16 +   g_message("%s(%s) emsg=%s", pch_func, pch_topic, pch_emsg);
17  
18     return;
19  }
This page took 0.045644 seconds and 3 git commands to generate.