File: 02_fix_retcode.patch

package info (click to toggle)
libnss-pgsql 1.4.0debian-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,092 kB
  • sloc: sh: 8,958; ansic: 1,106; xml: 392; makefile: 39; sql: 38
file content (13 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Øyvind Møll <oyvind@moll.no>
Description: Fix return code.  Taken from debian bug: #329467.
--- a/src/interface.c
+++ b/src/interface.c
@@ -120,7 +120,7 @@
 	} 
 	pthread_mutex_unlock(&lock);
 
-	return NSS_STATUS_SUCCESS;
+	return retval;
 }
 
 enum nss_status