[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Tue, 21 Sep 2004 02:36:22 +0200 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv16455
Modified Files:
property.c
Log Message:
(gsasl_property_set, gsasl_property_set_global): Handle data==NULL.
--- /home/cvs/gsasl/lib/src/property.c 2004/09/21 00:23:04 1.6
+++ /home/cvs/gsasl/lib/src/property.c 2004/09/21 00:36:22 1.7
@@ -112,7 +112,10 @@
{
if (*p)
free (*p);
- *p = strdup (data);
+ if (data)
+ *p = strdup (data);
+ else
+ *p = NULL;
}
}
@@ -144,7 +147,10 @@
{
if (*p)
free (*p);
- *p = strdup (data);
+ if (data)
+ *p = strdup (data);
+ else
+ *p = NULL;
}
}
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/22
- CVS gsasl/lib/src, gsasl-commit, 2004/09/22