comparison src/queue.c @ 366:41958685480d

Switched to `type *name' style Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced me that it is best to go with the way C had been designed. The ``declaration reflects use'' concept conflicts with a ``type* name'' notation. Hence I switched.
author markus schnalke <meillo@marmaro.de>
date Thu, 22 Sep 2011 15:07:40 +0200
parents b45dc53f2829
children b27f66555ba8
comparison
equal deleted inserted replaced
365:934a223e4ee8 366:41958685480d
187 g_free(msg); 187 g_free(msg);
188 } 188 }
189 } 189 }
190 190
191 gboolean 191 gboolean
192 queue_delete(gchar * uid) 192 queue_delete(gchar *uid)
193 { 193 {
194 gboolean hdr_ok = TRUE; 194 gboolean hdr_ok = TRUE;
195 gboolean dat_ok = TRUE; 195 gboolean dat_ok = TRUE;
196 gchar *hdr_name = g_strdup_printf("%s/input/%s-H", conf.spool_dir, uid); 196 gchar *hdr_name = g_strdup_printf("%s/input/%s-H", conf.spool_dir, uid);
197 gchar *dat_name = g_strdup_printf("%s/input/%s-D", conf.spool_dir, uid); 197 gchar *dat_name = g_strdup_printf("%s/input/%s-D", conf.spool_dir, uid);