comparison src/status.c @ 10504:1a97d5e88d12

[gaim-migrate @ 11796] Lots of things here: - Several memory leak fixes - A few invalid memory access fixes - Fix a yahoo crash going idle when away - Fix Add user in chats to actually fill in the screenname - Add gaim_account_{get,set}_enabled to perl - Fix command priorities (fixes /me in IRC) - Fix MSN notification server transfer to be quiet about it - Fix MSN blist sync if user has insane friendly name - Make the docklet less crash-happy if it fails to embed in 3 seconds - Only probe for native plugins with the correct file extension - 1 typo fix :) ... and quite possibly something else I forgot. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 11 Jan 2005 17:25:06 +0000
parents 6ec5da82ef41
children 05081f488da1
comparison
equal deleted inserted replaced
10503:776586d647e3 10504:1a97d5e88d12
1029 1029
1030 g_return_val_if_fail(status != NULL, FALSE); 1030 g_return_val_if_fail(status != NULL, FALSE);
1031 g_return_val_if_fail(id != NULL, FALSE); 1031 g_return_val_if_fail(id != NULL, FALSE);
1032 1032
1033 if ((value = gaim_status_get_attr_value(status, id)) == NULL) 1033 if ((value = gaim_status_get_attr_value(status, id)) == NULL)
1034 return FALSE; 1034 return NULL;
1035 1035
1036 g_return_val_if_fail(gaim_value_get_type(value) == GAIM_TYPE_STRING, NULL); 1036 g_return_val_if_fail(gaim_value_get_type(value) == GAIM_TYPE_STRING, NULL);
1037 1037
1038 return gaim_value_get_string(value); 1038 return gaim_value_get_string(value);
1039 } 1039 }