gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / tsclient / patches / 05-print-null.patch
blob3455d1ce5229d186e3eb6a86d73cc441e1f21e86
1 Index: trunk/src/support.c
2 ===================================================================
3 --- trunk/src/support.c (revision 68)
4 +++ trunk/src/support.c (working copy)
5 @@ -872,7 +872,8 @@
7 for (cnt = 0; cnt < c_argc; cnt++) {
8 #ifdef TSCLIENT_DEBUG
9 - printf ("arg %d: %s\n", cnt, c_argv[cnt]);
10 + if (c_argv[cnt])
11 + printf ("arg %d: %s\n", cnt, c_argv[cnt]);
12 #endif
13 free (c_argv[cnt]);