Fix typo.

This commit is contained in:
Andreas Schneider 2008-04-26 10:45:38 +02:00
parent f71aea17a1
commit f62366b2ed

View File

@ -226,7 +226,7 @@ int csync_update(CSYNC *ctx) {
int csync_destroy(CSYNC *ctx) {
char *lock = NULL;
if (csync == NULL) {
if (ctx == NULL) {
errno = EBADF;
return -1;
}