Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/ibm-public/postfix/dist/src/util miminize diff to o...



details:   https://anonhg.NetBSD.org/src/rev/6b2447d97d5b
branches:  trunk
changeset: 791355:6b2447d97d5b
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 14 02:27:29 2013 +0000

description:
miminize diff to original.

diffstat:

 external/ibm-public/postfix/dist/src/util/dict_sockmap.c |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 3539ea31ce5a -r 6b2447d97d5b external/ibm-public/postfix/dist/src/util/dict_sockmap.c
--- a/external/ibm-public/postfix/dist/src/util/dict_sockmap.c  Thu Nov 14 02:26:35 2013 +0000
+++ b/external/ibm-public/postfix/dist/src/util/dict_sockmap.c  Thu Nov 14 02:27:29 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dict_sockmap.c,v 1.2 2013/11/14 01:36:00 christos Exp $        */
+/*     $NetBSD: dict_sockmap.c,v 1.3 2013/11/14 02:27:29 christos Exp $        */
 
 /*++
 /* NAME
@@ -335,12 +335,11 @@
      */
     saved_name = mystrdup(mapname);
     if ((sockmap = split_at_right(saved_name, ':')) == 0) {
-       DICT *dp = dict_surrogate(DICT_TYPE_SOCKMAP, mapname,
-                                 open_flags, dict_flags,
-                                 "%s requires server:socketmap argument",
-                                 DICT_TYPE_SOCKMAP);
        myfree(saved_name);
-       return dp;
+       return (dict_surrogate(DICT_TYPE_SOCKMAP, mapname,
+                              open_flags, dict_flags,
+                              "%s requires server:socketmap argument",
+                              DICT_TYPE_SOCKMAP));
     }
 
     /*



Home | Main Index | Thread Index | Old Index