comparison mcabber/mcabber/caps.c @ 2064:01485f807811

Remove trailing space
author Mikael Berthe <mikael@lilotux.net>
date Sun, 28 Apr 2013 11:01:28 +0200
parents 76d7c5721210
children 778280b01bcb
comparison
equal deleted inserted replaced
2063:1b5a19b2ba44 2064:01485f807811
445 GKeyFile *key_file; 445 GKeyFile *key_file;
446 caps *c; 446 caps *c;
447 int fd; 447 int fd;
448 448
449 g_free (xml); 449 g_free (xml);
450 450
451 c = g_hash_table_lookup (caps_cache, hash); 451 c = g_hash_table_lookup (caps_cache, hash);
452 if (!c) 452 if (!c)
453 goto caps_copy_return; 453 goto caps_copy_return;
454 454
455 file = caps_get_filename (hash); 455 file = caps_get_filename (hash);
456 if (!file) 456 if (!file)
457 goto caps_copy_return; 457 goto caps_copy_return;
458 458
459 fd = open (file, O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR); 459 fd = open (file, O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
460 if (fd == -1) 460 if (fd == -1)
461 goto caps_copy_exists; 461 goto caps_copy_exists;
529 } 529 }
530 string_list[i] = NULL; 530 string_list[i] = NULL;
531 531
532 g_key_file_set_string_list (key_file, group, field->data, 532 g_key_file_set_string_list (key_file, group, field->data,
533 (const gchar**)string_list, i); 533 (const gchar**)string_list, i);
534 534
535 g_strfreev (string_list); 535 g_strfreev (string_list);
536 } 536 }
537 } 537 }
538 } 538 }
539 g_list_free(fields); 539 g_list_free(fields);