diff -Nruad -Nruad libnotify-0.4.5.orig/libnotify/notify.c libnotify-0.4.5/libnotify/notify.c
--- libnotify-0.4.5.orig/libnotify/notify.c	2009-07-08 21:26:30.000000000 +0100
+++ libnotify-0.4.5/libnotify/notify.c	2009-07-08 21:29:21.000000000 +0100
@@ -252,7 +252,7 @@
 	if (ret_version != NULL)
 		*ret_version = version;
 
-	if (spec_version != NULL)
+	if (ret_spec_version != NULL)
 		*ret_spec_version = spec_version;
 
 	return TRUE;
