]> arthur.barton.de Git - netatalk.git/commitdiff
altered a char comparison with a NULL to a comparison with 0, to remove a suspicious...
authorsibaz <sibaz>
Sat, 16 Feb 2002 15:29:49 +0000 (15:29 +0000)
committersibaz <sibaz>
Sat, 16 Feb 2002 15:29:49 +0000 (15:29 +0000)
libatalk/util/logger.c

index 5b0618d938724e3ed7206fd8b991fe0628d4bcaa..d9e348e0d265301f48cdb07a188c6f259c40a5a1 100644 (file)
@@ -608,7 +608,7 @@ static char *get_command_name(char *commandpath)
 void  workout_what_to_print(struct what_to_print_array *what_to_print, struct tag_log_file_data *log_struct)
 {
   /* is this a syslog entry? */
-  if (log_struct->log_filename[0]==NULL)
+  if (log_struct->log_filename[0]==0)
   {
     what_to_print->print_datetime = false;
     what_to_print->print_processname = false;