Revision 3309

View differences:

src/vcard.c
384 384
			if( *str != '\0' ) {
385 385
				ItemEMail *email = addritem_create_item_email();
386 386
				addritem_email_set_address( email, str );
387
				str = nodeRemarks->data;
388 387
				if( nodeRemarks ) {
388
					str = nodeRemarks->data;
389 389
					if( str ) {
390 390
						if( g_ascii_strcasecmp( str, "internet" ) != 0 ) {
391 391
							if( *str != '\0' ) addritem_email_set_remarks( email, str );
src/syldap.c
891 891
	gchar **vals;
892 892
	struct timeval timeout;
893 893

  
894
	if( ldapServer == NULL ) return baseDN;
894 895
	ldapServer->retVal = MGU_BAD_ARGS;
895
	if( ldapServer == NULL ) return baseDN;
896 896
	if( ldapServer->hostName == NULL ) return baseDN;
897 897
	if( ldapServer->port < 1 ) return baseDN;
898 898

  
......
1041 1041
	gboolean retVal = FALSE;
1042 1042
	LDAP *ld;
1043 1043

  
1044
	if( ldapServer == NULL ) return retVal;
1044 1045
	ldapServer->retVal = MGU_BAD_ARGS;
1045
	if( ldapServer == NULL ) return retVal;
1046 1046
	if( ldapServer->hostName == NULL ) return retVal;
1047 1047
	if( ldapServer->port < 1 ) return retVal;
1048 1048
	ldapServer->retVal = MGU_LDAP_INIT;
ChangeLog
1 1
2013-11-28
2 2

  
3
	* src/syldap.c:
4
	  syldap_test_connect():
5
	  syldap_read_basedn():
6
	  NULL check argument first.
7
	* src/vcard.c: vcard_build_items(): dereference nodeRemarks only if
8
	  it's non-null.
9

  
10
2013-11-28
11

  
3 12
	* src/rpop3.c: rpop3_retr_recv(): check error of
4 13
	  procheader_parse_file().
5 14

  

Also available in: Unified diff