Adjust to ObjFW changes

FossilOrigin-Name: bec524d06bdfb4ce57a88ef307fb1fc93eaa01201ff20c221814f404891d1009
This commit is contained in:
Jonathan Schleifer 2014-07-18 21:40:09 +00:00
parent 25c48048a1
commit 71342537cf
3 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@
_connection = [connection retain];
_error = [[OFString alloc]
initWithCString: PQerrorMessage([_connection PG_connection])
encoding: OF_STRING_ENCODING_NATIVE];
encoding: [OFString nativeOSEncoding]];
} @catch (id e) {
[self release];
@throw e;