Author: poeml Date: Thu Nov 11 19:06:45 2010 New Revision: 8214 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8214&view=rev Log: mod_mirrorbrain: style: move mb_cmd_redirect_stamp_key() to a more fitting place Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8214&r1=8213&r2=8214&view=diff ============================================================================== --- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original) +++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Thu Nov 11 19:06:45 2010 _at_@ -504,14 +504,6 @@ return NULL; } -static const char *mb_cmd_redirect_stamp_key(cmd_parms *cmd, void *config, - const char *arg1) -{ - mb_dir_conf *cfg = (mb_dir_conf *) config; - cfg->stampkey = arg1; - return NULL; -} - static const char *mb_cmd_debug(cmd_parms *cmd, void *config, int flag) { mb_dir_conf *cfg = (mb_dir_conf *) config; _at_@ -806,6 +798,14 @@ if (cfg->metalink_torrentadd_mask == NULL) { return "MirrorBrainMetalinkTorrentAddMask regex could not be compiled"; } + return NULL; +} + +static const char *mb_cmd_redirect_stamp_key(cmd_parms *cmd, void *config, + const char *arg1) +{ + mb_dir_conf *cfg = (mb_dir_conf *) config; + cfg->stampkey = arg1; return NULL; } _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Thu Nov 11 2010 - 18:06:47 GMT
This archive was generated by hypermail 2.3.0 : Thu Nov 11 2010 - 18:17:07 GMT